在Python 3.5/win7x64/win10x64安装fabric


title: # 在Python 3.5/win7x64/win10x64安装fabric
tags: []
notebook: daimoon 的笔记本


在Python 3.5/win7x64/win10x64安装fabric

安装psych pycrypto

python -m pip install --use-wheel --no-index --find-links=https://github.com/sfbahr/PyCrypto-Wheels/raw/master/pycrypto-2.6.1-cp35-none-win_amd64.whl pycrypto  

修复pycrypto的bug

notepad C:\Python35\Lib\site-packages\Crypto\Random\OSRNG\nt.py  

改为:

# import winrandom  
from Crypto.Random.OSRNG import winrandom  

安装fabric

git clone https://github.com/mathiasertl/fabric.git  
cd fabric  
python setup.py install  

ok now.

C:\github\fabric>fab  
Usage: fab-script.py [options]  
  
fab-script.py: error: no such option: --with-color

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容