{"id":459,"date":"2015-09-19T22:50:30","date_gmt":"2015-09-19T13:50:30","guid":{"rendered":"http:\/\/www.typea.info\/blog\/index.php\/2015\/09\/19\/windows_virtualenv_python27_pip_wheel_scipywindows\/"},"modified":"2015-09-19T22:50:30","modified_gmt":"2015-09-19T13:50:30","slug":"windows_virtualenv_python27_pip_wheel_scipywindows","status":"publish","type":"post","link":"https:\/\/www.typea.info\/blog\/index.php\/2015\/09\/19\/windows_virtualenv_python27_pip_wheel_scipywindows\/","title":{"rendered":"Windows \u3067 VirtualEnv \u306e Python2.7 \u306b pip \u3068 wheel \u3092\u4f7f\u3063\u3066 \u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8(\u4f8b scipy)\u3092Windows\u7528\u30d0\u30a4\u30ca\u30ea\u63d0\u4f9b\u30b5\u30a4\u30c8\u304b\u3089\u5165\u624b\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<h2>1.SciPy \u306e pip \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u30a8\u30e9\u30fc<\/h2>\n<p><a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4873116988\/ref=as_li_ss_tl?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4873116988&amp;linkCode=as2&amp;tag=typea09-22\">\u5b9f\u8df5 \u6a5f\u68b0\u5b66\u7fd2\u30b7\u30b9\u30c6\u30e0<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4873116988\" width=\"1\" height=\"1\" \/> <a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4873116988\/ref=as_li_ss_il?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4873116988&amp;linkCode=as2&amp;tag=typea09-22\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=4873116988&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=typea09-22\" \/><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4873116988\" width=\"1\" height=\"1\" \/><\/p>\n<p>\u3067\u3001\u4e8b\u4f8b\u3092\u3053\u306a\u3059\u306e\u306b\u3001<a href=\"http:\/\/turbare.net\/transl\/scipy-lecture-notes\/intro\/scipy.html\">SciPy<\/a> \u304c\u5fc5\u8981\u306a\u3088\u3046\u306a\u306e\u3067\u3001Windows \u306e VirtualEnv \u304b\u3089 pip \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre class=\"prettyprint linenums\">(math_env) c:\\Programs\\venv\\math_env\\Scripts&gt;pip install scipy\r\n    :\r\nFile &quot;C:\\Programs\\venv\\math_env\\lib\\site-packages\\numpy\\distutils\\misc_util.py&quot;, line 872, in _get_configuration_f\r\nrom_setup_py\r\n\r\nconfig = setup_module.configuration(*args)\r\n\r\nFile &quot;scipy\\linalg\\setup.py&quot;, line 19, in configuration\r\n\r\nraise NotFoundError('no lapack\/blas resources found')\r\n\r\nnumpy.distutils.system_info.NotFoundError: no lapack\/blas resources found<\/pre>\n<p>\u3067\u3001\u30a8\u30e9\u30fc\u3002<\/p>\n<p>pip\u3067\u7d20\u76f4\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u3068\u9762\u5012\u304f\u3055\u3044\u3093\u3060\u3088\u306a\u3002\u7279\u306bWindows\u3002<\/p>\n<p>SciPy \u306e Windows \u7528\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u306f\u3042\u308b\u306e\u3060\u304c\u3001\u3067\u304d\u308c\u3070\u3001VirtualEnv \u3067\u5bfe\u5fdc\u3057\u305f\u3044\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u30a8\u30e9\u30fc\u5185\u5bb9\u3092\u8abf\u3079\u308b\u3068\u3001stackoverflow \u3067\u4ee5\u4e0b\u306e\u56de\u7b54\u3092\u767a\u898b\u3002<\/p>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/28190534\/windows-scipy-install-no-lapack-blas-resources-found\">http:\/\/stackoverflow.com\/questions\/28190534\/windows-scipy-install-no-lapack-blas-resources-found<\/a><\/p>\n<blockquote>\n<p>The following link should solve all problems with Windows and SciPy; just choose the appropriate download. I was able to pip install the package with no problems. Every other solution I have tried gave me big headaches.<\/p>\n<\/blockquote>\n<p>\u6b21\u306e\u30ea\u30f3\u30af\u304c\u3001Windows \u3068SciPy\u306e\u3059\u3079\u3066\u306e\u554f\u984c\u3092\u89e3\u6c7a!?<\/p>\n<blockquote>\n<p>Source: <a href=\"http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/#scipy\">http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/#scipy<\/a> Command: pip install [Local File Location][Your specific file such as scipy-0.16.0-cp27-none-win_amd64.whl]<\/p>\n<\/blockquote>\n<p>&#160;<\/p>\n<h2>2.Unofficial Windows Binaries for Python Extension Packages<\/h2>\n<p><a title=\"http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\" href=\"http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\">http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs<\/a><\/p>\n<p>\u30da\u30fc\u30b8\u3092\u958b\u304f\u3068\u3001\u69d8\u3005\u306a Windows\u7528\u306ePython Extension \u30d1\u30c3\u30b1\u30fc\u30b8(\u975e\u516c\u5f0f) \u304c\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3060\uff01<\/p>\n<p>\u3053\u308c\u306f\u975e\u5e38\u306b\u4fbf\u5229\u305d\u3046\u3058\u3083\u306a\u3044\u304b\uff01<\/p>\n<p>\u975e\u516c\u5f0f\u3068\u66f8\u3044\u3066\u306f\u3042\u308b\u304c\u3001\u516c\u5f0f<a href=\"http:\/\/www.scipy.org\/install.html\">SciPy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30da\u30fc\u30b8\u306b\u3082URL\u304c\u7d39\u4ecb\u3055\u308c\u3066\u3044\u305f<\/a>\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/Windows--VirtualEnv--Python-_F647\/uwbfpep.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"uwbfpep\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"uwbfpep\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/Windows--VirtualEnv--Python-_F647\/uwbfpep_thumb.jpg\" width=\"449\" height=\"204\" \/><\/a><\/p>\n<p>\u78ba\u8a8d\u3059\u308b\u3068\u3001\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u306f\u3001.whl \u3068\u3044\u3046\u62e1\u5f35\u5b50\u3092\u6301\u3064\u3001wheel \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3089\u3057\u3044\u3002<\/p>\n<h2>3.Wheel\u30d5\u30a9\u30fc\u30de\u30c3\u30c8<\/h2>\n<p>wheel\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\uff1f<\/p>\n<p><a href=\"http:\/\/qiita.com\/toruuetani\/items\/b0000e9f5c89a350d4f8\">http:\/\/qiita.com\/toruuetani\/items\/b0000e9f5c89a350d4f8<\/a><\/p>\n<blockquote>\n<p>\u306a\u305c\u4eca\u9803 pip \u3092\u4f7f\u3044\u3060\u3059\u306e\u304b<br \/>\n    <br \/>pip \u306f\u30d0\u30a4\u30ca\u30ea\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u304b\u3089\u3002 <\/p>\n<p>pure python \u3067\u306a\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u30bd\u30fc\u30b9\u304b\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u304c\u3001 linux \u3068\u9055\u3063\u3066 windows \u306b\u306f C \u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u306a\u3044\u3053\u3068\u304c\u591a\u3044\u305f\u3081\u3001 \u305d\u3046\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u3002\u305d\u306e\u305f\u3081 windows \u5411\u3051\u306b\u30d0\u30a4\u30ca\u30ea\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b(XXX-1.2.1.win32-py2.7.exe \u306a\u3069)\u3002\u3053\u306e\u30d0\u30a4\u30ca\u30ea\u30d1\u30c3\u30b1\u30fc\u30b8\u306f easy_install \u306a\u3089\u554f\u984c\u306a\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u304c\u3001 pip \u3067\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u3002 <\/p>\n<p>\u305d\u306e\u305f\u3081 pip \u304c\u3044\u304f\u3089\u9032\u5316\u3057\u3088\u3046\u3068\u3001 windows \u3067\u306f easy_install \u4e00\u629e\u3060\u3063\u305f\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306a\u72b6\u6cc1\u306f wheel \u306e\u767b\u5834\u306b\u3088\u308a\u6539\u5584\u3055\u308c\u3066\u304d\u3066\u3044\u308b\u3002 wheel \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306f\u30d0\u30a4\u30ca\u30ea\u3082\u542b\u3081\u3089\u308c\u308b\u305f\u3081\u3001\u7279\u6b8a\u306a\u30d1\u30c3\u30b1\u30fc\u30b8( pywin32, psycopg2, py2exe\u306a\u3069 )\u3092\u9664\u3044\u3066\u306f\u3001\u307b\u307c pip \u3060\u3051\u3067\u884c\u3051\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<\/blockquote>\n<p>\u304a\u3046\u305d\u3046\u3044\u3046\u7406\u5c48\u304b\uff01\u3068\u3044\u3046\u3049\u3068\u3067\u3001<\/p>\n<p>pip \u3067 wheel \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"prettyprint linenums\">(math_env) c:\\Programs\\venv\\math_env&gt;pip install wheel\r\nYou are using pip version 6.0.8, however version 7.1.2 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\nCollecting wheel\r\nDownloading wheel-0.26.0-py2.py3-none-any.whl (63kB)\r\n100% |################################| 65kB 1.3MB\/s\r\nInstalling collected packages: wheel\r\n\r\nSuccessfully installed wheel-0.26.0<\/pre>\n<h2>4.SciPy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001SciPy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u8a66\u307f\u308b\u3002<\/p>\n<p><a href=\"http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/#scipy\">http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/#scipy<\/a><\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/Windows--VirtualEnv--Python-_F647\/scipy.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"scipy\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"scipy\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/Windows--VirtualEnv--Python-_F647\/scipy_thumb.jpg\" width=\"385\" height=\"201\" \/><\/a><\/p>\n<p>\u4e0a\u8a18\u304b\u3089\u3001scipy-0.16.0-cp35-none-win_amd64.whl \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b\u3068\u3001<\/p>\n<pre class=\"prettyprint linenums\">(math_env) c:\\Programs\\venv\\math_env&gt;pip install c:\\work\\py\\scipy-0.16.0-cp35-none-win_amd64.whl\r\n\r\n\r\nscipy-0.16.0-cp35-none-win_amd64.whl is not a supported wheel on this platform.\r\n\r\nhttp:\/\/stackoverflow.com\/questions\/28568070\/filename-whl-is-not-supported-wheel-on-this-platform\r\n\r\ncp33 means CPython 3.3 you need scipy\u20110.15.1\u2011cp27\u2011none\u2011win_amd64.whl instead.<\/pre>\n<p>\u3080\u3080\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5931\u6557\uff01\uff1f<\/p>\n<p>\u3063\u3066\u3001\u8abf\u3079\u308b\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u3001cp35 \u306e\u90e8\u5206\u306f\u3001Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u3088\u3046\u3060\u3002CPython3.5 \u3063\u3066\u3053\u3068\u304b\u3002<\/p>\n<p>\u30ea\u30d3\u30b8\u30e7\u30f3\u304b\u306a\u3093\u304b\u304b\u3068\u601d\u3063\u3066\u3001\u5024\u304c\u5927\u304d\u3044\u3082\u306e\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u3088\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001cp27 \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066 pip install \u3067\u96e3\u306a\u304f\u6210\u529f\u3002<\/p>\n<pre class=\"prettyprint linenums\">(math_env) c:\\Programs\\venv\\math_env&gt;pip install &quot;c:\\work\\py\\scipy-0.16.0-cp27-none-win_amd64.whl&quot;\r\nYou are using pip version 6.0.8, however version 7.1.2 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\nProcessing c:\\work\\py\\scipy-0.16.0-cp27-none-win_amd64.whl\r\nInstalling collected packages: scipy\r\n\r\nSuccessfully installed scipy-0.16.0<\/pre>\n<p>import \u304c\u6210\u529f\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d<\/p>\n<pre class=\"prettyprint linenums\">(math_env) c:\\Programs\\venv\\math_env&gt;python\r\nPython 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)] on win32\r\nType &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.\r\n&gt;&gt;&gt; import scipy\r\n&gt;&gt;&gt; scipy\r\n<module   ?C:\\Programs\\venv\\math_env\\lib\\site-packages\\scipy\\__init__.pyc? from ?scipy?><\/pre>\n<p>\u3081\u3067\u305f\u3057\u3002\u3081\u3067\u305f\u3057\u3002\u6e96\u5099\u5b8c\u4e86\u3002<\/p>\n<p><a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4798040665\/ref=as_li_ss_tl?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4798040665&amp;linkCode=as2&amp;tag=typea09-22\">\u5b66\u6821\u3067\u306f\u6559\u3048\u3066\u304f\u308c\u306a\u3044!\u3053\u308c1\u518a\u3067\u9ad8\u6821\u6570\u5b66\u306e\uff8e\uff9d\uff84\u306e\u4f7f\u3044\u65b9\u304c\u308f\u304b\u308b\u672c<\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4798040665\" width=\"1\" height=\"1\" \/><\/p>\n<p>&#160;<a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4798040665\/ref=as_li_ss_il?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4798040665&amp;linkCode=as2&amp;tag=typea09-22\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=4798040665&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=typea09-22\" \/><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4798040665\" width=\"1\" height=\"1\" \/><\/p>\n<p>\u975e\u5e38\u306b\u9762\u767d\u3044\u3002\u9ad8\u6821\u6642\u4ee3\u306b\u8aad\u307f\u305f\u304b\u3063\u305f\u306a\u3041\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.SciPy \u306e pip \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u30a8\u30e9\u30fc \u5b9f\u8df5 \u6a5f\u68b0\u5b66\u7fd2\u30b7\u30b9\u30c6\u30e0 \u3067\u3001\u4e8b\u4f8b\u3092\u3053\u306a\u3059\u306e\u306b\u3001SciPy \u304c\u5fc5\u8981\u306a\u3088\u3046\u306a\u306e\u3067\u3001Windows \u306e VirtualEnv \u304b\u3089 pip \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002 (math_env [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[20],"tags":[],"class_list":["post-459","post","type-post","status-publish","format-standard","hentry","category-python"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=459"}],"version-history":[{"count":0,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/459\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}