Python - 尝试在Windows和VisualStudio9中安装PyCrypto和MySQL-python

时间:2014-07-12 06:52:05

标签: python pycrypto

我安装了visual studio,例如我可以安装lxml,但它对PyCrypto和MySQL-python不起作用。

我收到以下错误:

  File "C:\Python27\lib\distutils\msvc9compiler.py", line 473, in compile

    self.initialize()

  File "C:\Python27\lib\distutils\msvc9compiler.py", line 383, in initialize

    vc_env = query_vcvarsall(VERSION, plat_spec)

  File "C:\Python27\lib\distutils\msvc9compiler.py", line 299, in query_vcvarsal
l

    raise ValueError(str(list(result.keys())))

ValueError: [u'path']

我已安装的软件包列表:

D:\>pip list
ipython (2.1.0)
lxml (3.3.5)
mysql-python (1.2.4
pip (1.5.6)
pyasn1 (0.1.7)
pywin32 (218)
rsa (3.1.4)
setuptools (5.4.1)
virtualenv (1.11.6)
wheel (0.24.0)

导致我的错误的原因是什么?

0 个答案:

没有答案