pythonモジュールをインストールする時、error:Uniable to find vcvarsall.batに出会います。

712 ワード

参考ブログ:
http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat
解決策の前提は、システムにvsの関連バージョンをインストールしなければなりません。
For Windows installation s:
While running setup.py for package installation、Python 2.7 searches for an installed Visual Studio 2008.You can trick Python to use a newer Studio by setting the corect path Vsion path viden
If you have Visual Studio 2010 installed、execute
SET VS90COMNTOOLS=%VS100COMNTOOLS%
or with Visual Studio 2012 installed(Visual Studio Versio 11)
SET VS90COMNTOOLS=%VS110COMNTOOLS%
or with Visual Studio 2013 installed(Visual Studio Versio 12)
SET VS90COMNTOOLS=%VS120COMNTOOLS%