在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

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容