美文网首页
在Python 3.5/win7x64/win10x64安装fa

在Python 3.5/win7x64/win10x64安装fa

作者: 1999年的Daimon | 来源:发表于2015-11-27 12:51 被阅读258次

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安装fa

      本文链接:https://www.haomeiwen.com/subject/itpdhttx.html