这个问题已经在这里有了答案: error: Unable to find vcvarsall.bat 41个我尝试在Windows 7 64位计算机上安装Fabric,而我得到的只是这个糟糕的错误消息...

这个问题已经在这里有了答案: > error: Unable to find vcvarsall.bat 41个
我尝试在Windows 7 64位计算机上安装Fabric,而我得到的只是这个糟糕的错误消息:
building ‘Crypto.Random.OSRNG.winrandom’ extension
warning: GMP or MPIR library not found; Not building
Crypto.PublicKey._fastmath.error: Unable to find vcvarsall.bat
没有类似问题的答案:Unable to find vcvarsall.bat对我有用.该怎么办?
解决方法:
我相信根本原因是描述为here:
Some Windows users whose Python is 64-bit have found that the PyCrypto
dependency winrandom may not install properly, leading to
ImportErrors. In this scenario, you’ll probably need to compile
winrandom yourself via e.g. MS Visual Studio. See #194 for info.
通过从Michael Foord’s website下载并安装PyCrypto二进制文件,然后重新安装Fabric,我已经能够解决此问题.非常感谢迈克尔!
本文标题为:在Windows上安装Fabric(Python库)时出现“错误:找不到vcvarsall.bat”


基础教程推荐
- OpenCV图像分割之分水岭算法与图像金字塔算法详解 2023-08-04
- 【python安装】Windows上安装和创建python开发环境 2023-09-03
- python 类对象的析构释放代码演示 2022-10-20
- 利用Python将txt文件录入Excel表格的全过程 2023-08-04
- python 多进程,多线程,协程 2023-09-04
- python解析.pyd文件的详细代码 2023-08-09
- python回归分析逻辑斯蒂模型之多分类任务详解 2022-10-20
- Python名片管理系统彩色控制台版实现 2022-08-30
- 基于Python实现视频转字符画动漫小工具 2023-08-04
- Numpy安装、升级与卸载的详细图文教程 2022-10-20