{"id":1373,"date":"2014-03-17T14:52:24","date_gmt":"2014-03-17T05:52:24","guid":{"rendered":"http:\/\/kazu.tv\/blog\/?p=1373"},"modified":"2014-03-17T15:07:42","modified_gmt":"2014-03-17T06:07:42","slug":"development-environment-in-windows","status":"publish","type":"post","link":"https:\/\/kazu.tv\/blog\/2014\/03\/17\/development-environment-in-windows\/","title":{"rendered":"Windows (MinGW, MSYS, Python)\u3067\u5feb\u9069\u306a\u958b\u767a\u74b0\u5883\u3092\u4f5c\u308b"},"content":{"rendered":"<h2>\u52d5\u6a5f<\/h2>\n<p>Windows\u3067web\u30a2\u30d7\u30ea\u3068\u304b\u306e\u958b\u767a\u4f5c\u696d\u3092\u3059\u308b\u3053\u3068\u3082\u7d50\u69cb\u3042\u308b\u3093\u3060\u3051\u3069\u3001\u30c4\u30fc\u30eb\u985e\u306fUnix\u7cfbOK\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u308b\u3082\u306e\u3082\u7d50\u69cb\u591a\u304f\u3001Windows\u3060\u3068\u7d50\u69cb\u4e0d\u4fbf\u306a\u3053\u3068\u3082\u591a\u3044\u3002<\/p>\n<p>\u6700\u8fd1\u3067\u306fGit\u3092\u4f7f\u308f\u306a\u3044\u958b\u767a\u3068\u3044\u3046\u306e\u306f\u3042\u308a\u5f97\u306a\u3044\u306e\u3067\u3001\u901a\u5e38\u306f<a title=\"Git for Windows\" href=\"http:\/\/msysgit.github.io\/\" target=\"_blank\">msysGit (Git for Windows)<\/a>\u3092\u5165\u308c\u308b\u3053\u3068\u3068\u601d\u3046\u3002msysGit\u81ea\u4f53\u306f\u3001Windows\u4e0a\u3067bash\u3068Git\u304c\u666e\u901a\u306b\u4f7f\u3048\u308b\u306e\u3067\u4fbf\u5229\u3060\u304c\u3001Git Bash\u306e\u4e2d\u3067\u305d\u308c\u4ee5\u4e0a\u306e\u4e8b\u3092\u3084\u308d\u3046\u3068\u601d\u3046\u3068\u3001\u9014\u7aef\u306b\u9762\u5012\u306b\u306a\u308b\u3002<\/p>\n<p>\u81ea\u5206\u306e\u4f8b\u3060\u3068\u3001Python\u3067\u52d5\u304f\u81ea\u52d5\u30c7\u30d7\u30ed\u30a4\u30c4\u30fc\u30eb\u3067\u3042\u308b<a title=\"Fabric\" href=\"http:\/\/fabfile.org\" target=\"_blank\">Fabric<\/a>\u3092\u4f7f\u304a\u3046\u3068\u601d\u3063\u305f\u304c\u3001\u8272\u3005\u3068\u4e0d\u4fbf\u306a\u4e8b\u304c\u767a\u751f\u3057\u305f\u3002<\/p>\n<h2>\u554f\u984c\u70b9<\/h2>\n<h3>fab\u30b3\u30de\u30f3\u30c9\u304c\u5225\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u7acb\u3061\u4e0a\u304c\u308b<\/h3>\n<p>\u6700\u521d\u306f\u7d20\u76f4\u306b\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u74b0\u5883\u3092\u4f5c\u3063\u305f\u3002<\/p>\n<ul>\n<li>Python 2.7.6\u3092<a title=\"Releases | Python.org\" href=\"https:\/\/www.python.org\/download\/releases\/\" target=\"_blank\">\u516c\u5f0f\u30d1\u30c3\u30b1\u30fc\u30b8<\/a>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li><a title=\"setuptools 3.3 | Python Package Index\" href=\"https:\/\/pypi.python.org\/pypi\/setuptools\" target=\"_blank\">setuptools<\/a> \u3082\u666e\u901a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>pip install fabric<\/li>\n<\/ul>\n<p>\u3053\u308c\u3067\u3001\u3068\u308a\u3042\u3048\u305aFabric\u306f\u52d5\u304f\u3088\u3046\u306b\u306a\u308b\u3093\u3060\u3051\u3069\u3001fab\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001Windows\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u65b0\u305f\u306b\u7acb\u3061\u4e0a\u304c\u3063\u3066\u3001\u305d\u3053\u3067Fabric\u304c\u5b9f\u884c\u3055\u308c\u3001\u5b9f\u884c\u3055\u308c\u308b\u3068\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u9589\u3058\u308b\u3001\u3068\u3044\u3046\u9762\u5012\u306a\u6319\u52d5\u306b\u306a\u3063\u305f\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001<\/p>\n<pre class=\"brush: bash\">fab &gt; log.txt 2&gt;&amp;1<\/pre>\n<p>\u3068\u304b<\/p>\n<pre class=\"brush: bash\">fab | tee \/dev\/null<\/pre>\n<p>\u3067\u3001\u51fa\u529b\u306f\u78ba\u8a8d\u3067\u304d\u308b\u3093\u3060\u3051\u3069\u3001\u3084\u3063\u3071\u308a\u9762\u5012\u3002<\/p>\n<h3>rsync_project \u304c\u5b9f\u884c\u51fa\u6765\u306a\u3044<\/h3>\n<p>Fabric\u306b\u306f<a title=\"Project Tools - Fabric 1.8.2 documentation\" href=\"http:\/\/docs.fabfile.org\/en\/1.8\/api\/contrib\/project.html\" target=\"_blank\">rsync_project<\/a>\u3068\u3044\u3046\u30bf\u30b9\u30af\u304c\u3042\u308b\u3002\u3053\u308c\u306frsync\u30b3\u30de\u30f3\u30c9\u306e\u30e9\u30c3\u30d1\u30fc\u306a\u306e\u3067\u3001rsync\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001Windows\u3067rsync\u3092\u4f7f\u3046\u306b\u306f\u3001<a title=\"cwRsync - Rsync for Windows\" href=\"https:\/\/www.itefix.no\/i2\/cwrsync\" target=\"_blank\">cwRsync<\/a>\u3084MSYS\u3001Cygwin\u306a\u3069\u3092\u4f7f\u3046\u3068\u3044\u3046\u65b9\u6cd5\u304c\u3042\u308b\u3002<\/p>\n<h3>Pageant\u3092\u4f7f\u3044\u305f\u3044<\/h3>\n<p>Windows\u3067\u958b\u767a\u3057\u3066\u308b\u4eba\u306f\u3001(Cygwin\u6d3e\u3092\u9664\u304f\u3068)<a title=\"PuTTY: A Free Telnet\/SSH Client\" href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/\" target=\"_blank\">PuTTY<\/a>\u3092\u4f7f\u3063\u3066\u3044\u308b\u4eba\u304c\u6b86\u3069\u3060\u3068\u601d\u3046\u3002\u305d\u306e\u5834\u5408\u3001\u5f53\u7136\u3001ssh-agent\u306e\u4ee3\u308f\u308a\u3068\u3057\u3066Pageant\u3092\u4f7f\u3063\u3066\u3044\u308b\u306f\u305a\u3060\u304c\u3001\u6700\u521d\u304b\u3089Windows\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b<a title=\"FileZilla - The free FTP solution\" href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\">FileZilla<\/a>\u3084<a title=\"WinSCP -  Free SFTP, SCP and FTP client for Windows \" href=\"http:\/\/winscp.net\/\" target=\"_blank\">WinSCP<\/a>\u306a\u3069\u306e\u30c4\u30fc\u30eb\u4ee5\u5916\u3060\u3068\u3001Pageant\u3068\u9023\u643a\u3059\u308b\u306e\u306f\u7d50\u69cb\u9762\u5012\u3002<\/p>\n<p><!--more--><\/p>\n<h2>\u74b0\u5883<\/h2>\n<p>\u8272\u3005\u8a66\u884c\u932f\u8aa4\u3057\u305f\u7d50\u679c\u3001\u4ee5\u4e0b\u306e\u69cb\u6210\u306b\u3057\u305f\u3002<\/p>\n<ul>\n<li><a title=\"GCC for both x64 &amp; x86 Windows! - MinGW-w64\" href=\"http:\/\/mingw-w64.sourceforge.net\/\" target=\"_blank\">MinGW-w64<\/a> + <a title=\"MSYS\" href=\"http:\/\/www.mingw.org\/wiki\/MSYS\" target=\"_blank\">MSYS<\/a>\n<ul>\n<li>rsync\u306fMSYS\u306b\u542b\u307e\u308c\u308b<\/li>\n<\/ul>\n<\/li>\n<li>Git\u306f\u516c\u5f0f\u306e(msysGit)\u3067\u306f\u306a\u304f\u3001<a itemprop=\"url\" href=\"http:\/\/sourceforge.net\/projects\/mingwbuilds\/\">MinGW-builds<\/a>\u306e\u3082\u306e\u3092\u4f7f\u7528<\/li>\n<li>Python\u306f\u516c\u5f0f\u306e\u3082\u306e\u3092\u4f7f\u7528<\/li>\n<li>Fabric\u306fMSYS\u74b0\u5883\u3067\u30d3\u30eb\u30c9<\/li>\n<li>\u5b8c\u5168\u306bPageant\u3060\u3051\u306b\u306f\u51fa\u6765\u306a\u304b\u3063\u305f\u306e\u3067\u3001MSYS\u306essh\u3082\u4e00\u90e8\u4f7f\u7528<\/li>\n<\/ul>\n<p>\u81ea\u5206\u306eWindows\u306e\u74b0\u5883\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<ul>\n<li>Windows 8.1 Professional 64bit<\/li>\n<\/ul>\n<h3>MinGW + MSYS\u306b\u3057\u305f\u7406\u7531<\/h3>\n<p>\u4ee5\u4e0b\u306e2\u3064<\/p>\n<ul>\n<li>\u6700\u8fd1\u306f\u8272\u3005Cygwin\u3082\u9032\u5316\u3057\u3066\u3044\u308b\u3089\u3057\u3044\u304c\u3001\u6614\u306e\u30a4\u30de\u30a4\u30c1\u306a\u5370\u8c61\u304c\u629c\u3051\u306a\u3044<\/li>\n<li>MinGW + MSYS\u306f\u4eca\u307e\u3067\u4f7f\u3046\u6a5f\u4f1a\u304c\u5c11\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u65b0\u3057\u3044\u3082\u306e\u3092\u89e6\u3063\u3066\u307f\u305f\u3044<\/li>\n<\/ul>\n<h3>msysGit\u3092\u4f7f\u308f\u306a\u304b\u3063\u305f\u7406\u7531<\/h3>\n<p>MinGW + MSYS\u3092\u666e\u901a\u306b\u5165\u308c\u3066\u3001\u5225\u3067\u5165\u308c\u305fmsysGit\u3068\u9023\u643a\u3055\u305b\u308b\u3053\u3068\u3082\u51fa\u6765\u308b\u3088\u3046\u3060\u304c\u3001\u4eca\u56de\u4f7f\u7528\u3057\u305fMinGW-w64 + MSYS\u3067\u306f\u3001Git\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u5b58\u5728\u3057\u305f\u305f\u3081\u3001\u3042\u3048\u3066msysGit\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u306a\u3044\u3068\u5224\u65ad\u3002<\/p>\n<p>\u305d\u306e\u4ed6\u306f\u3001\u8272\u3005\u8a66\u3057\u305f\u4e0a\u3067\u3001\u81ea\u5206\u3068\u3057\u3066\u4e00\u756a\u7d20\u76f4\u3068\u3044\u3046\u304b\u6b63\u653b\u6cd5\u3068\u601d\u3048\u308b\u65b9\u6cd5\u3092\u6975\u529b\u9078\u629e\u3057\u305f\u3002<\/p>\n<h2>\u69cb\u7bc9\u624b\u9806<\/h2>\n<h3>\u57fa\u672c\u7684\u306a\u3082\u306e<\/h3>\n<p>\u4ee5\u4e0b\u306e\u3082\u306e\u306f\u7279\u306b\u8ff7\u308f\u305a\u5165\u308c\u3089\u308c\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u8a73\u7d30\u306f\u7701\u7565\u3002<\/p>\n<ul>\n<li>PuTTY (\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fb\u30db\u30fc\u30eb\u3092\u585e\u3044\u30600.63\u3001\u53c8\u306f\u305d\u308c\u306e\u65e5\u672c\u8a9e\u5316\u3057\u305f\u3082\u306e\u3092\u63a8\u5968)<\/li>\n<li>Python 2.7.6\u00a0 64bit\uff08<a title=\"Releases | Python.org\" href=\"https:\/\/www.python.org\/download\/releases\/\" target=\"_blank\">\u516c\u5f0f\u30d1\u30c3\u30b1\u30fc\u30b8<\/a>\uff09<\/li>\n<li>setuptools 3.3 \uff08<a title=\"setuptools 3.3 | Python Package Index\" href=\"https:\/\/pypi.python.org\/pypi\/setuptools\" target=\"_blank\">\u3053\u3061\u3089<\/a>\uff09<\/li>\n<\/ul>\n<p>setuptools\u306fPowerShell\u306e\u30ef\u30f3\u30e9\u30a4\u30ca\u30fc\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3068\u304b\u3082\u66f8\u3044\u3066\u3042\u3063\u3066\u3001\u3061\u3087\u3063\u3068\u5b09\u3057\u3044\u3002<\/p>\n<p>\u3055\u3066\u3001\u3053\u3053\u304b\u3089\u304c\u672c\u756a\u3002<\/p>\n<h3>MinGW-w64 + MSYS, git<\/h3>\n<p>\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u306b\u4e01\u5be7\u306b\u89e3\u8aac\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u8a73\u3057\u304f\u306f\u305d\u3061\u3089\u3092\u53c2\u7167\u3002<\/p>\n<p><a title=\"MinGW (64bit) + MSYS \u74b0\u5883\u306e\u69cb\u7bc9 (1) | DeVlog - \u9280\u306e\u7ffc\u3067\u7fd4\u3079 -\" href=\"http:\/\/www.devlog.alt-area.org\/?p=2802\" target=\"_blank\">MinGW (64bit) + MSYS \u74b0\u5883\u306e\u69cb\u7bc9 (1) | DeVlog &#8211; \u9280\u306e\u7ffc\u3067\u7fd4\u3079 &#8211;<\/a><\/p>\n<p>\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001<\/p>\n<ul>\n<li><a title=\"sourceforge\" href=\"http:\/\/sourceforge.net\/projects\/mingw-w64\/files\/Toolchains%20targetting%20Win64\/Personal%20Builds\/mingw-builds\/4.8.2\/threads-posix\/seh\/\" target=\"_blank\">\u3053\u3061\u3089<\/a>\u304b\u3089\u3001MinGW-w64\u306egcc 4.8.2\u3001thread-posix\u3001SEH\u306e\u3082\u306e\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3001\u5c55\u958b<\/li>\n<li>MSYS\u306bgit\u3068\u304bwget\u3068\u304b\u304c\u3064\u3044\u305f<a title=\"MinGW-builds -  Browse \/external-binary-packages at SourceForge.net\" href=\"http:\/\/sourceforge.net\/projects\/mingwbuilds\/files\/external-binary-packages\/\" target=\"_blank\">\u30d1\u30c3\u30b1\u30fc\u30b8<\/a>\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3001\u5c55\u958b<\/li>\n<li>\u305d\u306e\u4ed6\u3001\u7d30\u304b\u3044\u8a2d\u5b9a<\/li>\n<\/ul>\n<p>\u7279\u306b\u96e3\u3057\u304f\u306f\u306a\u3044\u3002\u3061\u306a\u307f\u306b\u3001*.z\u30d5\u30a1\u30a4\u30eb\u306f<a title=\"7-Zip\" href=\"http:\/\/www.7-zip.org\/\" target=\"_blank\">7-Zip<\/a>\u3067\u5c55\u958b\u3067\u304d\u308b\u304c\u3001\u81ea\u5206\u306e\u30d1\u30bd\u30b3\u30f3\u306b\u5165\u3063\u3066\u3044\u305f\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3060\u3068\u5c55\u958b\u6642\u306b\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u306e\u3067\u30017-Zip\u306f\u6700\u65b0\u7248\u3092\u5165\u308c\u3066\u304a\u304f\u3068\u826f\u3044\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u81ea\u5206\u304c\u4f7f\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4ee5\u4e0b\u306e2\u3064\u3002<\/p>\n<ul>\n<li>x86_64-4.8.2-release-posix-seh-rt_v3-rev1.7z<\/li>\n<li>msys+7za+wget+svn+git+mercurial+cvs-rev13.7z<\/li>\n<\/ul>\n<h3>Python\u95a2\u9023<\/h3>\n<p>\u3053\u3053\u304b\u3089\u3060\u3093\u3060\u3093\u9762\u5012\u306b\uff08\u3068\u8a00\u3063\u3066\u3082\u3001\u624b\u9806\u81ea\u4f53\u306f\u9762\u5012\u3067\u306f\u306a\u304f\u3066\u3001\u3053\u3053\u306b\u81f3\u308b\u904e\u7a0b\u304c\u9762\u5012\u3060\u3063\u305f\u306a\u3068\uff09\u3002<\/p>\n<h4>pip<\/h4>\n<p>\u30d4\u30c3\u30d4\u306f\u901a\u5e38\u901a\u308a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre class=\"brush: bash\">easy_install pip<\/pre>\n<h4>\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30d3\u30eb\u30c9\u8a2d\u5b9a\uff1f<\/h4>\n<p>\u4eca\u5f8c\u3001\u57fa\u672c\u7684\u306b\u306fMSYS\u74b0\u5883\u3067\u751f\u304d\u3066\u3044\u304f\u3053\u3068\u3092\u6c7a\u610f\u3057\u305f\u304b\u3089\u306b\u306f\u3001Python\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u304b\u3082MSYS\u306egcc\uff08\uff1f\u3053\u306e\u8fba\u3001\u3042\u307e\u308a\u3088\u304f\u5206\u304b\u3063\u3066\u307e\u305b\u3093\uff09\u3067\u30d3\u30eb\u30c9\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p>C:\\Python27\\Lib\\distutils\\distutils.cfg\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5185\u5bb9\u3067\u4fdd\u5b58\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain;\">[build]\r\ncompiler=mingw32<\/pre>\n<h4>PyCrypto<\/h4>\n<p><a title=\"The Voidspace Python Modules\" href=\"http:\/\/www.voidspace.org.uk\/python\/modules.shtml#pycrypto\" target=\"_blank\">\u3053\u3053<\/a>\u304b\u3089\u300cPyCrypto 2.6 for Python 2.7 64bit\u300d\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<h4>Pywin32<\/h4>\n<p>\u4f3c\u305f\u3088\u3046\u306a\u3053\u3068\u3092\u3084\u3063\u3066\u3044\u308b<a title=\"Windows7 (MinGW \/ MSYS) \u306b Python 2.7 + virtualenv + Fabric \u3092\u5165\u308c\u305f\u30e1\u30e2 - k-holy\u306ePHP\u3068\u304b\u8af8\u3005\u30e1\u30e2&lt;\/title&gt;\" href=\"http:\/\/k-holy.hatenablog.com\/entry\/2013\/04\/08\/202042\" target=\"_blank\">\u3053\u3061\u3089\u306e\u30d6\u30ed\u30b0<\/a>\u306b\u3088\u308b\u3068\u3001<a title=\"Python for Windows extensions\" href=\"http:\/\/sourceforge.net\/projects\/pywin32\/files\/pywin32\/\" target=\"_blank\">Pywin32<\/a>\u306e32bit\u7248\u3092\u5165\u308c\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u306e\u3053\u3068\u3060\u3063\u305f\u304c\u3001\u81ea\u5206\u306e\u74b0\u5883\u306fMinGW\u306e64bit\u74b0\u5883\u306e\u305b\u3044\u304b\uff1fPywin32\u306e64bit\u7248\u3092\u5165\u308c\u3066\u3001\u7279\u306b\u554f\u984c\u306f\u306a\u304b\u3063\u305f\u3002<\/p>\n<h4>Fabric<\/h4>\n<p>\u3053\u3053\u307e\u3067\u3067Fabric\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u6e96\u5099\u304c\u51fa\u6765\u305f\u306e\u3067\u3001\u3042\u3068\u306f\u666e\u901a\u901a\u308apip\u3067fabric\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u3053\u308c\u3067MSYS\u74b0\u5883\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre>pip install fabric<\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068\u3001\u65b0\u305f\u306b\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u7acb\u3061\u4e0a\u304c\u3089\u306a\u3044\u3067\u3001MSYS\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u4e2d\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3002\u3084\u3063\u305f\u30fc\uff01<\/p>\n<pre>fab --version<\/pre>\n<h3>SSH\u95a2\u9023<\/h3>\n<p>\u3042\u3068\u306fSSH\u95a2\u9023\u306e\u7d30\u3005\u3068\u3057\u305f\u8a2d\u5b9a\u3002<\/p>\n<p>Git\u306eSSH\u901a\u4fe1\u3067Pagent\u3092\u4f7f\u3046\u306b\u306f\u3001GIT_SSH\u74b0\u5883\u5909\u6570\u306bplink\u3092\u6307\u5b9a\u3059\u308b\u3002\u3053\u308c\u306fFAQ\u304b\u306a\u3002MSYS\u5185\u3067\/c\/Program Files\/PuTTY\u306b\u30d1\u30b9\u3092\u901a\u3057\u3066\u304a\u304f\u3068\u826f\u3044\u3002<\/p>\n<p>Fabric\u306ersync_project\u306f\u3001rsync\u3092\u547c\u3073\u51fa\u3059\u969b\u306b-e ssh &#8230;. \u3068\u3044\u3046\u90e8\u5206\u3092\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3057\u3066\u3044\u308b\u306e\u3067\u3001plink\u3092\u4f7f\u3046\u3053\u3068\u304c\u51fa\u6765\u306a\u3044(rsync\u306eman\u306f<a title=\"rsync(1) - Linux man page\" href=\"http:\/\/linux.die.net\/man\/1\/rsync\" target=\"_blank\">\u3053\u3061\u3089<\/a>)\u3002<\/p>\n<p>\u89e3\u6c7a\u65b9\u6cd5\u3068\u3057\u3066\u4ee5\u4e0b\u306e2\u901a\u308a\u304c\u8003\u3048\u3089\u308c\u308b\u3002<\/p>\n<ul>\n<li>rsync_project\u3092\u4fee\u6b63\u3057\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001ssh\u3067\u306f\u306a\u304fplink\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<li>MSYS\u306essh\u304cPageant\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<\/ul>\n<p>\u5f8c\u8005\u306e\u65b9\u6cd5\u3067\u8272\u3005\u63a2\u3057\u305f\u304c\u3001Cygwin\u3067\u3042\u308c\u3070<a title=\"ssh-pageant\" href=\"https:\/\/github.com\/cuviper\/ssh-pageant\" target=\"_blank\">ssh-pageant<\/a>\u3068\u3044\u3046\u306e\u304c\u3042\u3063\u305f\u304c\u3001MSYS\u3067\u306f\u305d\u308c\u3063\u307d\u3044\u306e\u304c\u7121\u304b\u3063\u305f\u3002ssh-pageant\u3068cygwin1.dll\u3092MSYS\u306e\u30d1\u30b9\u306b\u901a\u3057\u3066\u8a66\u3057\u306b\u4f7f\u3063\u3066\u307f\u305f\u304c\uff08\u5f53\u7136\uff1f\uff09\u4e0a\u624b\u304f\u52d5\u304b\u306a\u304b\u3063\u305f\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u8ae6\u3081\u3066\u3001MSYS\u306essh-agent\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<h3>\u306a\u3093\u3067\u305d\u3093\u306a\u9762\u5012\u306a\u4e8b\u3059\u3093\u306e\uff1f<\/h3>\n<p>Windows\u3067\u306e\u958b\u767a\u74b0\u5883\u4f5c\u6210\u306f\u9762\u5012\u304f\u3055\u3044\uff01\u3053\u3053\u307e\u3067\u3084\u308b\u306e\u306b\u307b\u307c1\u65e5\u4f7f\u3063\u3066\u3057\u307e\u3063\u305f\u3002<\/p>\n<p>Mac\u3084Linux\u3060\u3063\u305f\u3089\u3059\u3093\u306a\u308a\u3067\u304d\u308b\u3053\u3068\u304c\u4e2d\u3005\u51fa\u6765\u306a\u304f\u3066\u3082\u3069\u304b\u3057\u3044\u3051\u3069\u3001\u9811\u5f35\u308c\u3070\u305d\u308c\u306a\u308a\u306b\u5feb\u9069\u306a\u74b0\u5883\u304c\u3067\u304d\u308b\u306e\u3067\u3001(ssh\u3068Pageant\u306e\u554f\u984c\u3092\u9664\u3044\u3066)\u6982\u306d\u6e80\u8db3\u3002<\/p>\n<p>\u306a\u3093\u3067\u308f\u3056\u308f\u3056\u305d\u3093\u306a\u9762\u5012\u306a\u4e8b\u3059\u308b\u306e\u304b\u3063\u3066\u610f\u898b\u3082\u3042\u308b\u3068\u601d\u3046\u3002<\/p>\n<p>Mac\u4f7f\u3048\u3070\uff1f\u2192\u4f7f\u3063\u3066\u307e\u3059\u3063\u3066\u3002\u3067\u3082\u3001\u5bb6\u3060\u3068Win\u3082\u3069\u3046\u3057\u3066\u3082\u5fc5\u8981\u3002Visual Studio\u4f7f\u3046\u3057\u3001Microsoft Office\u3082Mac\u7248\u3067\u4f5c\u3063\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u53d6\u5f15\u5148\u306eWindows\u3060\u3068\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u5d29\u308c\u305f\u308a\u3059\u308b\u3057\u3002\u305d\u308c\u306bWindows\u306e\u65b9\u304c\u5b89\u5b9a\u3057\u3066\u3044\u308b\u3002\u81ea\u5206\u306eMac\u306f1\u301c2\u30f6\u6708\u306b1\u5ea6\u4f4d\u306f\u30d5\u30ea\u30fc\u30ba\u3057\u305f\u308a\u843d\u3061\u305f\u308a\u3059\u308b\u3051\u3069\u3001\u5bb6\u306eWindows\u306f\u3053\u30534\u5e74\u4f4d\u3067\u30d6\u30eb\u30fc\u30fb\u30b9\u30af\u30ea\u30fc\u30f3\u306f1\u301c2\u5ea6\u3057\u304b\u306a\u3044\u3002<\/p>\n<p>Windows\u5185\u3067VirtualBox\u3068\u304b\u7acb\u3061\u4e0a\u3052\u308c\u3070\u3044\u3044\uff1f\u2192\u3053\u308c\u306f\u3054\u3082\u3063\u3068\u3082\u306a\u3093\u3060\u3051\u3069\u3001\u4f55\u304b\u30db\u30b9\u30c8\u3068\u30b2\u30b9\u30c8\u9593\u306e\u5207\u308a\u66ff\u3048\u304c\u4f55\u3068\u306a\u304f\u9762\u5012\u3068\u3044\u3046\u304b\u3002\u30d5\u30a1\u30a4\u30eb\u306f\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u3067OK\u3060\u3051\u3069\u3001\u30b3\u30d4\u30da\u3068\u304b\u30ad\u30fc\u30d0\u30a4\u30f3\u30c9\u3068\u304b\u7d30\u304b\u3044\u306e\u304c\u7a4d\u307f\u91cd\u306a\u308b\u3068\u4f55\u3068\u306a\u304f\u30b9\u30c8\u30ec\u30b9\u3060\u306a\u30fc\u3068\u3002<\/p>\n<h3>\u307e\u3068\u3081<\/h3>\n<p>Windows\u3082\u4e2d\u3005\u3044\u3044\u3063\u3059\u3088\u3002MinGW + MSYS\u4fbf\u5229\u3002\u4f3c\u305f\u3088\u3046\u306a\u74b0\u5883\u306e\u4eba\u304c\u3082\u3063\u3068\u5897\u3048\u3066\u304f\u308c\u308b\u3068\u3001\u60c5\u5831\u3068\u304b\u30c4\u30fc\u30eb\u3068\u304b\u304c\u5897\u3048\u3066\u304d\u3066\u3044\u3044\u306e\u3060\u3051\u3069\u30fb\u30fb\u30fb<\/p>\n<h2>\u4ee5\u4e0b\u3001\u81ea\u5206\u7528\u30e1\u30e2\uff08\u30ed\u30b0\uff09<\/h2>\n<p>setuptools<\/p>\n<pre class=\"brush: plain\">(Invoke-WebRequest https:\/\/bitbucket.org\/pypa\/setuptools\/raw\/bootstrap\/ez_setup.py).Content | python -<\/pre>\n<p>pip<\/p>\n<pre class=\"brush: plain\">easy_install pip\r\nSearching for pip\r\nReading https:\/\/pypi.python.org\/simple\/pip\/\r\nBest match: pip 1.5.4\r\nDownloading https:\/\/pypi.python.org\/packages\/source\/p\/pip\/pip-1.5.4.tar.gz#md5=8\r\n34b2904f92d46aaa333267fb1c922bb\r\nProcessing pip-1.5.4.tar.gz\r\nWriting c:\\users\\kashima\\appdata\\local\\temp\\easy_install-ekehkb\\pip-1.5.4\\setup.cfg\r\nRunning pip-1.5.4\\setup.py -q bdist_egg --dist-dir c:\\users\\kashima\\appdata\\local\\temp\\easy_install-ekehkb\\pip-1.5.4\\egg-dist-tmp-bm_ofj\r\nwarning: no files found matching 'pip\\cacert.pem'\r\nwarning: no files found matching '*.html' under directory 'docs'\r\nwarning: no previously-included files matching '*.rst' found under directory 'docs\\_build'\r\nno previously-included directories found matching 'docs\\_build\\_sources'\r\nAdding pip 1.5.4 to easy-install.pth file\r\nInstalling pip-script.py script to C:\\Python27\\Scripts\r\nInstalling pip.exe script to C:\\Python27\\Scripts\r\nInstalling pip2.7-script.py script to C:\\Python27\\Scripts\r\nInstalling pip2.7.exe script to C:\\Python27\\Scripts\r\nInstalling pip2-script.py script to C:\\Python27\\Scripts\r\nInstalling pip2.exe script to C:\\Python27\\Scripts\r\n\r\nInstalled c:\\python27\\lib\\site-packages\\pip-1.5.4-py2.7.egg\r\nProcessing dependencies for pip\r\nFinished processing dependencies for pip<\/pre>\n<p>pywin32<\/p>\n<pre class=\"brush: plain\">$ easy_install \/h\/data\/kazu\/Downloads\/pywin32-218.win-amd64-py2.7.exe | tee\r\n\/dev\/null\r\nProcessing pywin32-218.win-amd64-py2.7.exe\r\ncreating 'c:\\users\\kazu\\appdata\\local\\temp\\easy_install-07flrv\\pywin32-218-py\r\n2.7-win32.egg' and adding 'c:\\users\\kazu\\appdata\\local\\temp\\easy_install-07fl\r\nrv\\pywin32-218-py2.7-win32.egg.tmp' to it\r\ncreating c:\\python27\\lib\\site-packages\\pywin32-218-py2.7-win32.egg\r\nExtracting pywin32-218-py2.7-win32.egg to c:\\python27\\lib\\site-packages\r\nAdding pywin32 218 to easy-install.pth file\r\nInstalling pywin32_postinstall.py script to C:\\Python27\\Scripts\r\nInstalling pywin32_postinstall.pyc script to C:\\Python27\\Scripts\r\nInstalling pywin32_testall.py script to C:\\Python27\\Scripts\r\nInstalling pywin32_testall.pyc script to C:\\Python27\\Scripts\r\n\r\nInstalled c:\\python27\\lib\\site-packages\\pywin32-218-py2.7-win32.egg\r\nProcessing dependencies for pywin32==218\r\nSearching for pywin32==218\r\nReading http:\/\/pypi.python.org\/simple\/pywin32\/\r\nReading http:\/\/sf.net\/projects\/pywin32\r\nReading http:\/\/sourceforge.net\/project\/showfiles.php?group_id=78018\r\nReading https:\/\/sourceforge.net\/projects\/pywin32\/files\/pywin32\/<\/pre>\n<p>fabric\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306e\u30a8\u30e9\u30fc\uff08PyCrypto\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5165\u308c\u305f\u3089\u76f4\u3063\u305f\uff09<\/p>\n<pre class=\"brush: plain\">Downloading\/unpacking fabric\r\n\u00a0 Running setup.py (path:c:\\users\\kazu\\appdata\\local\\temp\\pip_build_kazu\\fabric\\setup.py) egg_info for package fabric\r\n\u00a0\u00a0 \u00a0\r\n\u00a0\u00a0\u00a0 warning: no previously-included files matching '*' found under directory 'docs\\_build'\r\n\u00a0\u00a0\u00a0 warning: no previously-included files matching '*.pyc' found under directory 'tests'\r\n\u00a0\u00a0\u00a0 warning: no previously-included files matching '*.pyo' found under directory 'tests'\r\nDownloading\/unpacking paramiko&gt;=1.10.0 (from fabric)\r\n\u00a0 Running setup.py (path:c:\\users\\kazu\\appdata\\local\\temp\\pip_build_kazu\\paramiko\\setup.py) egg_info for package paramiko\r\n\u00a0\u00a0 \u00a0\r\nDownloading\/unpacking pycrypto&gt;=2.1,!=2.4 (from paramiko&gt;=1.10.0-&gt;fabric)\r\n\u00a0 Running setup.py (path:c:\\users\\kazu\\appdata\\local\\temp\\pip_build_kazu\\pycrypto\\setup.py) egg_info for package pycrypto\r\n\u00a0\u00a0 \u00a0\r\nDownloading\/unpacking ecdsa (from paramiko&gt;=1.10.0-&gt;fabric)\r\n\u00a0 Running setup.py (path:c:\\users\\kazu\\appdata\\local\\temp\\pip_build_kazu\\ecdsa\\setup.py) egg_info for package ecdsa\r\n\u00a0\u00a0 \u00a0\r\nInstalling collected packages: fabric, paramiko, pycrypto, ecdsa\r\n\u00a0 Running setup.py install for fabric\r\n\u00a0\u00a0 \u00a0\r\n\u00a0\u00a0\u00a0 warning: no previously-included files matching '*' found under directory 'docs\\_build'\r\n\u00a0\u00a0\u00a0 warning: no previously-included files matching '*.pyc' found under directory 'tests'\r\n\u00a0\u00a0\u00a0 warning: no previously-included files matching '*.pyo' found under directory 'tests'\r\n\u00a0\u00a0\u00a0 Installing fab-script.py script to C:\\Python27\\Scripts\r\n\u00a0\u00a0\u00a0 Installing fab.exe script to C:\\Python27\\Scripts\r\n\u00a0\u00a0\u00a0 Installing fab.exe.manifest script to C:\\Python27\\Scripts\r\n\u00a0 Running setup.py install for paramiko\r\n\u00a0\u00a0 \u00a0\r\n\u00a0 Running setup.py install for pycrypto\r\n\u00a0\u00a0\u00a0 checking for gcc... gcc\r\n\u00a0\u00a0\u00a0 checking whether the C compiler works... yes\r\n\u00a0\u00a0\u00a0 checking for C compiler default output file name... a.exe\r\n\u00a0\u00a0\u00a0 checking for suffix of executables... .exe\r\n\u00a0\u00a0\u00a0 checking whether we are cross compiling... no\r\n\u00a0\u00a0\u00a0 checking for suffix of object files... o\r\n\u00a0\u00a0\u00a0 checking whether we are using the GNU C compiler... yes\r\n\u00a0\u00a0\u00a0 checking whether gcc accepts -g... yes\r\n\u00a0\u00a0\u00a0 checking for gcc option to accept ISO C89... none needed\r\n\u00a0\u00a0\u00a0 checking for __gmpz_init in -lgmp... no\r\n\u00a0\u00a0\u00a0 checking for __gmpz_init in -lmpir... no\r\n\u00a0\u00a0\u00a0 checking whether mpz_powm is declared... no\r\n\u00a0\u00a0\u00a0 checking whether mpz_powm_sec is declared... no\r\n\u00a0\u00a0\u00a0 checking how to run the C preprocessor... gcc -E\r\n\u00a0\u00a0\u00a0 checking for grep that handles long lines and -e... \/usr\/bin\/grep\r\n\u00a0\u00a0\u00a0 checking for egrep... \/usr\/bin\/grep -E\r\n\u00a0\u00a0\u00a0 checking for ANSI C header files... yes\r\n\u00a0\u00a0\u00a0 checking for sys\/types.h... yes\r\n\u00a0\u00a0\u00a0 checking for sys\/stat.h... yes\r\n\u00a0\u00a0\u00a0 checking for stdlib.h... yes\r\n\u00a0\u00a0\u00a0 checking for string.h... yes\r\n\u00a0\u00a0\u00a0 checking for memory.h... yes\r\n\u00a0\u00a0\u00a0 checking for strings.h... yes\r\n\u00a0\u00a0\u00a0 checking for inttypes.h... yes\r\n\u00a0\u00a0\u00a0 checking for stdint.h... yes\r\n\u00a0\u00a0\u00a0 checking for unistd.h... yes\r\n\u00a0\u00a0\u00a0 checking for inttypes.h... (cached) yes\r\n\u00a0\u00a0\u00a0 checking limits.h usability... yes\r\n\u00a0\u00a0\u00a0 checking limits.h presence... yes\r\n\u00a0\u00a0\u00a0 checking for limits.h... yes\r\n\u00a0\u00a0\u00a0 checking stddef.h usability... yes\r\n\u00a0\u00a0\u00a0 checking stddef.h presence... yes\r\n\u00a0\u00a0\u00a0 checking for stddef.h... yes\r\n\u00a0\u00a0\u00a0 checking for stdint.h... (cached) yes\r\n\u00a0\u00a0\u00a0 checking for stdlib.h... (cached) yes\r\n\u00a0\u00a0\u00a0 checking for string.h... (cached) yes\r\n\u00a0\u00a0\u00a0 checking wchar.h usability... yes\r\n\u00a0\u00a0\u00a0 checking wchar.h presence... yes\r\n\u00a0\u00a0\u00a0 checking for wchar.h... yes\r\n\u00a0\u00a0\u00a0 checking for inline... inline\r\n\u00a0\u00a0\u00a0 checking for int16_t... yes\r\n\u00a0\u00a0\u00a0 checking for int32_t... yes\r\n\u00a0\u00a0\u00a0 checking for int64_t... yes\r\n\u00a0\u00a0\u00a0 checking for int8_t... yes\r\n\u00a0\u00a0\u00a0 checking for size_t... yes\r\n\u00a0\u00a0\u00a0 checking for uint16_t... yes\r\n\u00a0\u00a0\u00a0 checking for uint32_t... yes\r\n\u00a0\u00a0\u00a0 checking for uint64_t... yes\r\n\u00a0\u00a0\u00a0 checking for uint8_t... yes\r\n\u00a0\u00a0\u00a0 checking for stdlib.h... (cached) yes\r\n\u00a0\u00a0\u00a0 checking for GNU libc compatible malloc... yes\r\n\u00a0\u00a0\u00a0 checking for memmove... yes\r\n\u00a0\u00a0\u00a0 checking for memset... yes\r\n\u00a0\u00a0\u00a0 configure: creating .\/config.status\r\n\u00a0\u00a0\u00a0 config.status: creating src\/config.h\r\n\u00a0\u00a0\u00a0 building 'Crypto.Random.OSRNG.winrandom' extension\r\n\u00a0\u00a0\u00a0 c:\\mingw64\\bin\\gcc.exe -mdll -Wall -std=c99 -O3 -fomit-frame-pointer -Isrc\/ -IC:\\Python27\\include -IC:\\Python27\\PC -c src\/winrand.c -o build\\temp.win-amd64-2.7\\Release\\src\\winrand.o\r\n\u00a0\u00a0\u00a0 src\/winrand.c:38:0: warning: \"_WIN32_WINNT\" redefined [enabled by default]\r\n\u00a0\u00a0\u00a0\u00a0 #define _WIN32_WINNT 0x400\r\n\u00a0\u00a0\u00a0\u00a0 ^\r\n\u00a0\u00a0\u00a0 In file included from c:\/mingw64\/x86_64-w64-mingw32\/include\/crtdefs.h:10:0,\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from c:\/mingw64\/x86_64-w64-mingw32\/include\/io.h:9,\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from C:\\Python27\\include\/pyconfig.h:68,\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from C:\\Python27\\include\/Python.h:8,\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from src\/winrand.c:33:\r\n\u00a0\u00a0\u00a0 c:\/mingw64\/x86_64-w64-mingw32\/include\/_mingw.h:229:0: note: this is the location of the previous definition\r\n\u00a0\u00a0\u00a0\u00a0 #define _WIN32_WINNT 0x502\r\n\u00a0\u00a0\u00a0\u00a0 ^\r\n\u00a0\u00a0\u00a0 c:\\mingw64\\bin\\gcc.exe -shared -s build\\temp.win-amd64-2.7\\Release\\src\\winrand.o build\\temp.win-amd64-2.7\\Release\\src\\winrandom.def -LC:\\Python27\\libs -LC:\\Python27\\PCbuild\\amd64 -lws2_32 -ladvapi32 -lpython27 -lmsvcr90 -o build\\lib.win-amd64-2.7\\Crypto\\Random\\OSRNG\\winrandom.pyd\r\n\u00a0\u00a0\u00a0 build\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0xb9): undefined reference to `__imp_PyExc_SystemError'\r\n\u00a0\u00a0\u00a0 build\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x1b6): undefined reference to `__imp_PyExc_TypeError'\r\n\u00a0\u00a0\u00a0 build\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x1e7): undefined reference to `__imp_PyExc_SystemError'\r\n\u00a0\u00a0\u00a0 build\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x215): undefined reference to `__imp_PyExc_ValueError'\r\n\u00a0\u00a0\u00a0 build\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x297): undefined reference to `__imp_PyExc_TypeError'\r\n\u00a0\u00a0\u00a0 build\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x2d8): undefined reference to `__imp_PyExc_TypeError'\r\n\u00a0\u00a0\u00a0 build\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x333): undefined reference to `__imp_PyExc_SystemError'\r\n\u00a0\u00a0\u00a0 build\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x359): undefined reference to `__imp_PyType_Type'\r\n\u00a0\u00a0\u00a0 build\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x382): undefined reference to `__imp_Py_InitModule4'\r\n\u00a0\u00a0\u00a0 c:\/mingw64\/bin\/..\/lib\/gcc\/x86_64-w64-mingw32\/4.8.2\/..\/..\/..\/..\/x86_64-w64-mingw32\/bin\/ld.exe: build\\temp.win-amd64-2.7\\Release\\src\\winrand.o: bad reloc address 0x0 in section `.data'\r\n\u00a0\u00a0\u00a0 collect2.exe: error: ld returned 1 exit status\r\n\u00a0\u00a0\u00a0 warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.\r\n\u00a0\u00a0\u00a0 error: command 'gcc' failed with exit status 1\r\n\u00a0\u00a0\u00a0 Complete output from command C:\\Python27\\python.exe -c \"import setuptools, tokenize;__file__='c:\\\\users\\\\kazu\\\\appdata\\\\local\\\\temp\\\\pip_build_kazu\\\\pycrypto\\\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record c:\\users\\kazu\\appdata\\local\\temp\\pip-ff8se8-record\\install-record.txt --single-version-externally-managed --compile:\r\n\u00a0\u00a0\u00a0 running install\r\n\r\nrunning build\r\n\r\nrunning build_py\r\n\r\ncreating build\r\n\r\ncreating build\\lib.win-amd64-2.7\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\r\n\r\ncopying lib\\Crypto\\pct_warnings.py -&gt; build\\lib.win-amd64-2.7\\Crypto\r\n\r\ncopying lib\\Crypto\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\hashalgo.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\HMAC.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\MD2.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\MD4.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\MD5.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\RIPEMD.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\SHA.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\SHA224.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\SHA256.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\SHA384.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\SHA512.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncopying lib\\Crypto\\Hash\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Hash\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\AES.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\ARC2.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\ARC4.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\blockalgo.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\Blowfish.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\CAST.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\DES.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\DES3.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\PKCS1_OAEP.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\PKCS1_v1_5.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\XOR.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncopying lib\\Crypto\\Cipher\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Cipher\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\Util\r\n\r\ncopying lib\\Crypto\\Util\\asn1.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Util\r\n\r\ncopying lib\\Crypto\\Util\\Counter.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Util\r\n\r\ncopying lib\\Crypto\\Util\\number.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Util\r\n\r\ncopying lib\\Crypto\\Util\\py21compat.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Util\r\n\r\ncopying lib\\Crypto\\Util\\py3compat.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Util\r\n\r\ncopying lib\\Crypto\\Util\\randpool.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Util\r\n\r\ncopying lib\\Crypto\\Util\\RFC1751.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Util\r\n\r\ncopying lib\\Crypto\\Util\\winrandom.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Util\r\n\r\ncopying lib\\Crypto\\Util\\_number_new.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Util\r\n\r\ncopying lib\\Crypto\\Util\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Util\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\Random\r\n\r\ncopying lib\\Crypto\\Random\\random.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\r\n\r\ncopying lib\\Crypto\\Random\\_UserFriendlyRNG.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\r\n\r\ncopying lib\\Crypto\\Random\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\Random\\Fortuna\r\n\r\ncopying lib\\Crypto\\Random\\Fortuna\\FortunaAccumulator.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\\Fortuna\r\n\r\ncopying lib\\Crypto\\Random\\Fortuna\\FortunaGenerator.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\\Fortuna\r\n\r\ncopying lib\\Crypto\\Random\\Fortuna\\SHAd256.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\\Fortuna\r\n\r\ncopying lib\\Crypto\\Random\\Fortuna\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\\Fortuna\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\Random\\OSRNG\r\n\r\ncopying lib\\Crypto\\Random\\OSRNG\\fallback.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\\OSRNG\r\n\r\ncopying lib\\Crypto\\Random\\OSRNG\\nt.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\\OSRNG\r\n\r\ncopying lib\\Crypto\\Random\\OSRNG\\posix.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\\OSRNG\r\n\r\ncopying lib\\Crypto\\Random\\OSRNG\\rng_base.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\\OSRNG\r\n\r\ncopying lib\\Crypto\\Random\\OSRNG\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Random\\OSRNG\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\SelfTest\r\n\r\ncopying lib\\Crypto\\SelfTest\\st_common.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\r\n\r\ncopying lib\\Crypto\\SelfTest\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\common.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\test_AES.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\test_ARC2.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\test_ARC4.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\test_Blowfish.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\test_CAST.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\test_DES.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\test_DES3.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\test_pkcs1_15.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\test_pkcs1_oaep.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\test_XOR.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncopying lib\\Crypto\\SelfTest\\Cipher\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Cipher\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\common.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\test_HMAC.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\test_MD2.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\test_MD4.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\test_MD5.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\test_RIPEMD.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\test_SHA.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\test_SHA224.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\test_SHA256.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\test_SHA384.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\test_SHA512.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncopying lib\\Crypto\\SelfTest\\Hash\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Hash\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Protocol\r\n\r\ncopying lib\\Crypto\\SelfTest\\Protocol\\test_AllOrNothing.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Protocol\r\n\r\ncopying lib\\Crypto\\SelfTest\\Protocol\\test_chaffing.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Protocol\r\n\r\ncopying lib\\Crypto\\SelfTest\\Protocol\\test_KDF.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Protocol\r\n\r\ncopying lib\\Crypto\\SelfTest\\Protocol\\test_rfc1751.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Protocol\r\n\r\ncopying lib\\Crypto\\SelfTest\\Protocol\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Protocol\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\PublicKey\r\n\r\ncopying lib\\Crypto\\SelfTest\\PublicKey\\test_DSA.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\PublicKey\r\n\r\ncopying lib\\Crypto\\SelfTest\\PublicKey\\test_ElGamal.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\PublicKey\r\n\r\ncopying lib\\Crypto\\SelfTest\\PublicKey\\test_importKey.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\PublicKey\r\n\r\ncopying lib\\Crypto\\SelfTest\\PublicKey\\test_RSA.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\PublicKey\r\n\r\ncopying lib\\Crypto\\SelfTest\\PublicKey\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\PublicKey\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\test_random.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\test_rpoolcompat.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\test__UserFriendlyRNG.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\Fortuna\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\Fortuna\\test_FortunaAccumulator.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\Fortuna\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\Fortuna\\test_FortunaGenerator.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\Fortuna\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\Fortuna\\test_SHAd256.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\Fortuna\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\Fortuna\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\Fortuna\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\OSRNG\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\OSRNG\\test_fallback.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\OSRNG\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\OSRNG\\test_generic.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\OSRNG\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\OSRNG\\test_nt.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\OSRNG\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\OSRNG\\test_posix.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\OSRNG\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\OSRNG\\test_winrandom.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\OSRNG\r\n\r\ncopying lib\\Crypto\\SelfTest\\Random\\OSRNG\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Random\\OSRNG\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Util\r\n\r\ncopying lib\\Crypto\\SelfTest\\Util\\test_asn1.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Util\r\n\r\ncopying lib\\Crypto\\SelfTest\\Util\\test_Counter.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Util\r\n\r\ncopying lib\\Crypto\\SelfTest\\Util\\test_number.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Util\r\n\r\ncopying lib\\Crypto\\SelfTest\\Util\\test_winrandom.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Util\r\n\r\ncopying lib\\Crypto\\SelfTest\\Util\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Util\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Signature\r\n\r\ncopying lib\\Crypto\\SelfTest\\Signature\\test_pkcs1_15.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Signature\r\n\r\ncopying lib\\Crypto\\SelfTest\\Signature\\test_pkcs1_pss.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Signature\r\n\r\ncopying lib\\Crypto\\SelfTest\\Signature\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\SelfTest\\Signature\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\Protocol\r\n\r\ncopying lib\\Crypto\\Protocol\\AllOrNothing.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Protocol\r\n\r\ncopying lib\\Crypto\\Protocol\\Chaffing.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Protocol\r\n\r\ncopying lib\\Crypto\\Protocol\\KDF.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Protocol\r\n\r\ncopying lib\\Crypto\\Protocol\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Protocol\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\PublicKey\r\n\r\ncopying lib\\Crypto\\PublicKey\\DSA.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\PublicKey\r\n\r\ncopying lib\\Crypto\\PublicKey\\ElGamal.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\PublicKey\r\n\r\ncopying lib\\Crypto\\PublicKey\\pubkey.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\PublicKey\r\n\r\ncopying lib\\Crypto\\PublicKey\\RSA.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\PublicKey\r\n\r\ncopying lib\\Crypto\\PublicKey\\_DSA.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\PublicKey\r\n\r\ncopying lib\\Crypto\\PublicKey\\_RSA.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\PublicKey\r\n\r\ncopying lib\\Crypto\\PublicKey\\_slowmath.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\PublicKey\r\n\r\ncopying lib\\Crypto\\PublicKey\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\PublicKey\r\n\r\ncreating build\\lib.win-amd64-2.7\\Crypto\\Signature\r\n\r\ncopying lib\\Crypto\\Signature\\PKCS1_PSS.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Signature\r\n\r\ncopying lib\\Crypto\\Signature\\PKCS1_v1_5.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Signature\r\n\r\ncopying lib\\Crypto\\Signature\\__init__.py -&gt; build\\lib.win-amd64-2.7\\Crypto\\Signature\r\n\r\nrunning build_ext\r\n\r\nrunning build_configure\r\n\r\nchecking for gcc... gcc\r\n\r\nchecking whether the C compiler works... yes\r\n\r\nchecking for C compiler default output file name... a.exe\r\n\r\nchecking for suffix of executables... .exe\r\n\r\nchecking whether we are cross compiling... no\r\n\r\nchecking for suffix of object files... o\r\n\r\nchecking whether we are using the GNU C compiler... yes\r\n\r\nchecking whether gcc accepts -g... yes\r\n\r\nchecking for gcc option to accept ISO C89... none needed\r\n\r\nchecking for __gmpz_init in -lgmp... no\r\n\r\nchecking for __gmpz_init in -lmpir... no\r\n\r\nchecking whether mpz_powm is declared... no\r\n\r\nchecking whether mpz_powm_sec is declared... no\r\n\r\nchecking how to run the C preprocessor... gcc -E\r\n\r\nchecking for grep that handles long lines and -e... \/usr\/bin\/grep\r\n\r\nchecking for egrep... \/usr\/bin\/grep -E\r\n\r\nchecking for ANSI C header files... yes\r\n\r\nchecking for sys\/types.h... yes\r\n\r\nchecking for sys\/stat.h... yes\r\n\r\nchecking for stdlib.h... yes\r\n\r\nchecking for string.h... yes\r\n\r\nchecking for memory.h... yes\r\n\r\nchecking for strings.h... yes\r\n\r\nchecking for inttypes.h... yes\r\n\r\nchecking for stdint.h... yes\r\n\r\nchecking for unistd.h... yes\r\n\r\nchecking for inttypes.h... (cached) yes\r\n\r\nchecking limits.h usability... yes\r\n\r\nchecking limits.h presence... yes\r\n\r\nchecking for limits.h... yes\r\n\r\nchecking stddef.h usability... yes\r\n\r\nchecking stddef.h presence... yes\r\n\r\nchecking for stddef.h... yes\r\n\r\nchecking for stdint.h... (cached) yes\r\n\r\nchecking for stdlib.h... (cached) yes\r\n\r\nchecking for string.h... (cached) yes\r\n\r\nchecking wchar.h usability... yes\r\n\r\nchecking wchar.h presence... yes\r\n\r\nchecking for wchar.h... yes\r\n\r\nchecking for inline... inline\r\n\r\nchecking for int16_t... yes\r\n\r\nchecking for int32_t... yes\r\n\r\nchecking for int64_t... yes\r\n\r\nchecking for int8_t... yes\r\n\r\nchecking for size_t... yes\r\n\r\nchecking for uint16_t... yes\r\n\r\nchecking for uint32_t... yes\r\n\r\nchecking for uint64_t... yes\r\n\r\nchecking for uint8_t... yes\r\n\r\nchecking for stdlib.h... (cached) yes\r\n\r\nchecking for GNU libc compatible malloc... yes\r\n\r\nchecking for memmove... yes\r\n\r\nchecking for memset... yes\r\n\r\nconfigure: creating .\/config.status\r\n\r\nconfig.status: creating src\/config.h\r\n\r\nbuilding 'Crypto.Random.OSRNG.winrandom' extension\r\n\r\ncreating build\\temp.win-amd64-2.7\r\n\r\ncreating build\\temp.win-amd64-2.7\\Release\r\n\r\ncreating build\\temp.win-amd64-2.7\\Release\\src\r\n\r\nc:\\mingw64\\bin\\gcc.exe -mdll -Wall -std=c99 -O3 -fomit-frame-pointer -Isrc\/ -IC:\\Python27\\include -IC:\\Python27\\PC -c src\/winrand.c -o build\\temp.win-amd64-2.7\\Release\\src\\winrand.o\r\n\r\nsrc\/winrand.c:38:0: warning: \"_WIN32_WINNT\" redefined [enabled by default]\r\n\r\n\u00a0#define _WIN32_WINNT 0x400\r\n\r\n\u00a0^\r\n\r\nIn file included from c:\/mingw64\/x86_64-w64-mingw32\/include\/crtdefs.h:10:0,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from c:\/mingw64\/x86_64-w64-mingw32\/include\/io.h:9,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from C:\\Python27\\include\/pyconfig.h:68,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from C:\\Python27\\include\/Python.h:8,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from src\/winrand.c:33:\r\n\r\nc:\/mingw64\/x86_64-w64-mingw32\/include\/_mingw.h:229:0: note: this is the location of the previous definition\r\n\r\n\u00a0#define _WIN32_WINNT 0x502\r\n\r\n\u00a0^\r\n\r\nwriting build\\temp.win-amd64-2.7\\Release\\src\\winrandom.def\r\n\r\nc:\\mingw64\\bin\\gcc.exe -shared -s build\\temp.win-amd64-2.7\\Release\\src\\winrand.o build\\temp.win-amd64-2.7\\Release\\src\\winrandom.def -LC:\\Python27\\libs -LC:\\Python27\\PCbuild\\amd64 -lws2_32 -ladvapi32 -lpython27 -lmsvcr90 -o build\\lib.win-amd64-2.7\\Crypto\\Random\\OSRNG\\winrandom.pyd\r\n\r\nbuild\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0xb9): undefined reference to `__imp_PyExc_SystemError'\r\n\r\nbuild\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x1b6): undefined reference to `__imp_PyExc_TypeError'\r\n\r\nbuild\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x1e7): undefined reference to `__imp_PyExc_SystemError'\r\n\r\nbuild\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x215): undefined reference to `__imp_PyExc_ValueError'\r\n\r\nbuild\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x297): undefined reference to `__imp_PyExc_TypeError'\r\n\r\nbuild\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x2d8): undefined reference to `__imp_PyExc_TypeError'\r\n\r\nbuild\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x333): undefined reference to `__imp_PyExc_SystemError'\r\n\r\nbuild\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x359): undefined reference to `__imp_PyType_Type'\r\n\r\nbuild\\temp.win-amd64-2.7\\Release\\src\\winrand.o:winrand.c:(.text+0x382): undefined reference to `__imp_Py_InitModule4'\r\n\r\nc:\/mingw64\/bin\/..\/lib\/gcc\/x86_64-w64-mingw32\/4.8.2\/..\/..\/..\/..\/x86_64-w64-mingw32\/bin\/ld.exe: build\\temp.win-amd64-2.7\\Release\\src\\winrand.o: bad reloc address 0x0 in section `.data'\r\n\r\ncollect2.exe: error: ld returned 1 exit status\r\n\r\nwarning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.\r\n\r\nerror: command 'gcc' failed with exit status 1\r\n\r\n----------------------------------------\r\nCleaning up...\r\nCommand C:\\Python27\\python.exe -c \"import setuptools, tokenize;__file__='c:\\\\users\\\\kazu\\\\appdata\\\\local\\\\temp\\\\pip_build_kazu\\\\pycrypto\\\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record c:\\users\\kazu\\appdata\\local\\temp\\pip-ff8se8-record\\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\\users\\kazu\\appdata\\local\\temp\\pip_build_kazu\\pycrypto\r\nStoring debug log for failure in c:\/Users\/kazu\\pip\\pip.log<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u52d5\u6a5f Windows\u3067web\u30a2\u30d7\u30ea\u3068\u304b\u306e\u958b\u767a\u4f5c\u696d\u3092\u3059\u308b\u3053\u3068\u3082\u7d50\u69cb\u3042\u308b\u3093\u3060\u3051\u3069\u3001\u30c4\u30fc\u30eb\u985e\u306fUnix\u7cfbOK\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u308b\u3082\u306e\u3082\u7d50\u69cb\u591a\u304f\u3001Windows\u3060\u3068\u7d50\u69cb\u4e0d\u4fbf\u306a\u3053\u3068\u3082\u591a\u3044\u3002 \u6700\u8fd1\u3067\u306fGit\u3092\u4f7f\u308f\u306a\u3044\u958b\u767a\u3068\u3044\u3046\u306e\u306f\u3042\u308a\u5f97&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[910],"tags":[431,432,311,950],"class_list":["post-1373","post","type-post","status-publish","format-standard","hentry","category-910","tag-mingw","tag-msys","tag-python","tag-windows"],"_links":{"self":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/1373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/comments?post=1373"}],"version-history":[{"count":6,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/1373\/revisions"}],"predecessor-version":[{"id":1379,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/1373\/revisions\/1379"}],"wp:attachment":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/media?parent=1373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/categories?post=1373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/tags?post=1373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}