虽然下面这个教程设置osqa 。 我入行会引导您运行:
easy_install.exe psycopg2
我已经找到vcvarsall.bat
在C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC
和增加它的完整路径%PATH%
但仍得到以下错误:
error: Setup script exited with error: Unable to find vcvarsall.bat
以下是完整的CMD输出:
C:\>easy_install.exe psycopg2
Searching for psycopg2
Reading https://pypi.python.org/simple/psycopg2/
Reading http://initd.org/projects/psycopg2
Best match: psycopg2 2.5.3
Downloading https://pypi.python.org/packages/source/p/psycopg2/psycopg2-2.5.3.ta
r.gz#md5=09dcec70f623a9ef774f1aef75690995
Processing psycopg2-2.5.3.tar.gz
Writing c:\users\root\appdata\local\temp\easy_install-d3odyl\psycopg2-2.5.3\se
tup.cfg
Running psycopg2-2.5.3\setup.py -q bdist_egg --dist-dir c:\users\root\appdata\
local\temp\easy_install-d3odyl\psycopg2-2.5.3\egg-dist-tmp-lmlmsb
error: Setup script exited with error: Unable to find vcvarsall.bat
哪里的easy_install试图找到vcvarsall.bat
?