在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

你可能感兴趣的:(在Python 3.5/win7x64/win10x64安装fabric)