在Windows上安装Python Fabric [英] Install Python Fabric on Windows
本文介绍了在Windows上安装Python Fabric的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Windows上获得有效的Python Fabric安装?
How to get a working Python Fabric installation on Windows?
推荐答案
fabric在Windows上安装得很好,但是您需要:
fabric installs just fine on Windows, but you will need to either:
- 已安装编译器以在安装过程中构建pycrypto依赖项.如果尚未安装pycrypto依赖项,请安装 MinGW 或您可以使用MSVC的免费版本.
- 在pyCrypto上安装预构建的Windows二进制文件此处.
- have a compiler installed to build the pycrypto dependency during setup.If you don't have one already, install MinGW or you can use the free version of MSVC.
- install pre-built Windows binaries for pyCrypto here.
我将其安装在 virtualenv 中,如下所示:
I install it in a virtualenv like so:
virtualenv fabenv
fabenv\Scripts\activate.bat
pip install fabric
另一个提示:启动并运行它后,您可以使用选页面加载ssh密钥,并避免使用基于密码的身份验证
Another Tip: When you have it up and running you can use pageant to load your ssh keys and avoiding using password-based authentication
这篇关于在Windows上安装Python Fabric的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文