{"id":5099,"date":"2014-06-01T01:58:06","date_gmt":"2014-05-31T16:58:06","guid":{"rendered":"https:\/\/mimumimu.net\/blog\/?p=5099"},"modified":"2014-06-01T01:58:06","modified_gmt":"2014-05-31T16:58:06","slug":"python-%e3%81%a7-error-unable-to-find-vcvarsall-bat-%e3%81%8c%e5%87%ba%e3%81%9f%e5%a0%b4%e5%90%88%e3%80%82","status":"publish","type":"post","link":"https:\/\/mimumimu.net\/blog\/2014\/06\/01\/python-%e3%81%a7-error-unable-to-find-vcvarsall-bat-%e3%81%8c%e5%87%ba%e3%81%9f%e5%a0%b4%e5%90%88%e3%80%82\/","title":{"rendered":"Python \u3067 &ldquo;error: Unable to find vcvarsall.bat&rdquo; \u304c\u51fa\u305f\u5834\u5408\u3002"},"content":{"rendered":"<p>\u3069\u3046\u3082\u307f\u3080\u3089\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f Windows \u3067 Python \u4f7f\u3063\u3066\u3066\u3001   <br \/>setup.py install \u3068\u304b\u3057\u305f\u3068\u304d\u306b\u3001 \u201cerror: Unable to find vcvarsall.bat\u201d \u3068\u304b\u51fa\u305f\u5834\u5408\u306b\u3064\u3044\u3066\u3002<\/p>\n<p>\u4e0b\u8a18\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u3066\u8a18\u8ff0\u3092\u898b\u3064\u3051\u305f\u306e\u3067\u3059\u304c\u3001\u4e00\u5fdc\u81ea\u5206\u5411\u3051\u306e\u30e1\u30e2\u3068\u3057\u3066\u66f8\u304d\u76f4\u3057\u3002   <br \/><a title=\"\u8857\u89d2\u306e\u30ea\u30d6\u30ed\u30ac\u30fc python\u3067vcvarsall.bat\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002\" href=\"http:\/\/ivis-mynikki.blogspot.jp\/2013\/03\/pythonvcvarsallbat.html\">\u8857\u89d2\u306e\u30ea\u30d6\u30ed\u30ac\u30fc python\u3067vcvarsall.bat\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002<\/a><\/p>\n<p>   <br clear=\"all\" \/>    <\/p>\n<hr \/>\n<h3>\uff11\uff0e\u4f7f\u3063\u3066\u3044\u308b Python \u306e\u30d3\u30eb\u30c9\u3055\u308c\u305f\u74b0\u5883\u3092\u78ba\u304b\u3081\u308b\u3002<\/h3>\n<p>\u8d77\u52d5\u76f4\u5f8c\u306b\u73fe\u308c\u308b \u201cMSC v.1500\u201d \u3068\u3044\u3046\u3088\u3046\u306a\u8868\u8a18\u304b\u3089\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5224\u5b9a\u3057\u3066\u3082\u826f\u3044\u306e\u3067\u3059\u304c\u3001   <br \/>\uff08 Visual Studio \u3092\u4f7f\u3063\u3066\u3044\u308b\u4eba\u306a\u3089\u5206\u304b\u308b\u304b\u3082\u30fb\u30fb\uff1f )<\/p>\n<p>\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3066\u5224\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:dfdf9d4e-083d-4b33-9f7a-bbdfd9186016\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">\n<pre class=\"brush: python;\">from distutils.msvccompiler import *\nget_build_version()<\/pre>\n<\/div>\n<p>\u51fa\u529b\u7d50\u679c\u306b \u201c9.0\u201d \u3084 \u201c10.0\u201d \u3068\u51fa\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<h3>\uff12\uff0e\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u5024\u3092\u66f8\u304d\u8fbc\u3080<\/h3>\n<p>\u5024\u3092\u6b21\u306e\u5834\u6240\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\uff1a<\/p>\n<p>\u30ad\u30fc\u540d\uff1a HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\(Python \u306e MSVC \u306e\u30d0\u30fc\u30b8\u30e7\u30f3)\\Setup\\VC<br \/>\n  <br \/>\u5024\u540d\uff1aProductDir<\/p>\n<p>\u5024\uff1a\uff08\u73fe\u5728\u4f7f\u3063\u3066\u3044\u308b Visual Studio \u306e VC \u30d5\u30a9\u30eb\u30c0\u3078\u306e\u30d1\u30b9\uff09<\/p>\n<p>&#160;<\/p>\n<p>\u4f8b\u3068\u3057\u3066\u3001\u79c1\u306e\u74b0\u5883\u3067\u4f7f\u3063\u3066\u3044\u308b Python 2.7 \u304c MSVC 9.0 \u74b0\u5883\u3067\u30d3\u30eb\u30c9\u3055\u308c\u3066\u304a\u308a\u3001<br \/>\n  <br \/>\u4e00\u65b9\u3067\u79c1\u81ea\u8eab\u306f Visual Studio 2013 \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u5024\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff1a<\/p>\n<p>\u30ad\u30fc\u540d\uff1a HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\9.0\\Setup\\VC<br \/>\n  <br \/>\u5024\u540d\uff1aProductDir<\/p>\n<p>\u5024\uff1aC:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC<\/p>\n<p><a href=\"http:\/\/mimumimu.net\/blog\/wp-content\/uploads\/2014\/06\/image.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/mimumimu.net\/blog\/wp-content\/uploads\/2014\/06\/image_thumb.png\" width=\"525\" height=\"225\" \/><\/a><\/p>\n<p>&#160;<\/p>\n<p>\u307e\u305f\u3001\uff11\u3067 10.0 \u3068\u51fa\u305f\u5834\u5408\u306f\u3001<br \/>\n  <br \/>HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\10.0\\Setup\\VC \u306b\u3002<\/p>\n<p>\u305d\u306e\u4ed6 x86 (32bit) \u74b0\u5883\u306e\u5834\u5408\u306f\u3001<br \/>\n  <br \/>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0\\Setup\\VC \u306b\u306a\u3063\u3066\u3001<\/p>\n<p>\u30d1\u30b9\u3082 C:\\Program Files\\Microsoft Visual Studio 12.0\\VC<\/p>\n<p>\u7b49\u306b\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u30fb\u30fb\u53d6\u308a\u6025\u304e\u3001\u30e1\u30e2\u3002\n  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\u307f\u3080\u3089\u3067\u3059\u3002 \u4eca\u56de\u306f Windows \u3067 Python \u4f7f\u3063\u3066\u3066\u3001 setup.py install \u3068\u304b\u3057\u305f\u3068\u304d\u306b\u3001 \u201cerror: Unable to find vcvarsall.bat\u201d \u3068\u304b\u51fa\u305f\u5834\u5408\u306b\u3064\u3044 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,15,7],"tags":[524,584,523],"class_list":["post-5099","post","type-post","status-publish","format-standard","hentry","category-python","category-windows","category-dev","tag-error","tag-python","tag-unable-to-find-vcvarsall-batrdquo"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts\/5099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/comments?post=5099"}],"version-history":[{"count":0,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts\/5099\/revisions"}],"wp:attachment":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/media?parent=5099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/categories?post=5099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/tags?post=5099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}