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
修復(fù)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