相关疑难解决方法(0)

需要Microsoft Visual C++ 14.0(无法找到vcvarsall.bat)

我已经安装了Python 3.5并且在运行时

pip install mysql-python
Run Code Online (Sandbox Code Playgroud)

它给了我以下错误

error: Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)
Run Code Online (Sandbox Code Playgroud)

我在路径中添加了以下行

C:\Program Files\Python 3.5\Scripts\;
C:\Program Files\Python 3.5\;

C:\Windows\System32;
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC;
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC
Run Code Online (Sandbox Code Playgroud)

我的PC上有64位win 7设置.

什么是解决此错误和正确安装模块的解决方案pip.

python python-3.x

181
推荐指数
18
解决办法
56万
查看次数

Pip错误:需要Microsoft Visual C++ 14.0

我刚刚运行了"pip install -U steem"命令,安装工作正常,直到它无法安装pycrypto.之后我做了"pip install cryptography"命令,因为我认为它是缺少的包.所以我的问题是,如何在没有pycrypto-error(或者另外还有pycrypto-package)的情况下安装steem,以及如何卸载我不需要的cryptography-Package.(我使用的是Windows 7和Python 3)

Requirement already up-to-date: python-dateutil in c:\users\***\appdata\lo
cal\programs\python\python36\lib\site-packages (from dateparser->maya->steem)
Collecting regex (from dateparser->maya->steem)
Downloading regex-2017.06.23-cp36-none-win_amd64.whl (245kB)
100% |????????????????????????????????| 245kB 499kB/s
Collecting pytzdata (from pendulum->maya->steem)
Downloading pytzdata-2017.2-py2.py3-none-any.whl (462kB)
100% |????????????????????????????????| 471kB 965kB/s
Installing collected packages: urllib3, idna, chardet, certifi, requests, pycryp
to, funcy, w3lib, voluptuous, diff-match-patch, scrypt, prettytable, appdirs, la
ngdetect, ruamel.yaml, humanize, tzlocal, regex, dateparser, pytzdata, pendulum,
maya, ecdsa, pylibscrypt, ujson, toolz, steem
Running setup.py install for pycrypto ... error
Complete output …
Run Code Online (Sandbox Code Playgroud)

python pycrypto

22
推荐指数
8
解决办法
7万
查看次数

标签 统计

python ×2

pycrypto ×1

python-3.x ×1