Python 3对结构的支持 [英] Python 3 support for fabric

查看:45
本文介绍了Python 3对结构的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

结构( http://docs.fabfile.org/en/1.7/)是否支持Python 3 .根据 Python 3超级大国之墙,它还没有. 如果不是,那么将Django 1.5与Python 3结合使用是最好的选择.

Does fabric (http://docs.fabfile.org/en/1.7/) support Python 3 yet. As per Python 3 Wall of Superpowers it does not yet. If not what is the best alternative if using Django 1.5 with Python 3.

推荐答案

当前答案 @ miso.belica已经完成了

Current Answer which has already been done by @miso.belica

pip install -U "fabric>2.0.0"

旧答案(截至2013年)

从文档中

请注意,所有文档当前都是使用Python编写的 考虑到2.5个用户,但希望最终与Python 3.x兼容

Please note that all documentation is currently written with Python 2.5 users in mind, but with an eye for eventual Python 3.x compatibility

或更具体地说:

最终与Python 3.x兼容

eventual Python 3.x compatibility

Python3对Fabric的支持似乎有点粘性,并依赖于另一个开源库,paramiko与python3兼容.到目前为止,主版本支持python 3.

It looks like Python3 support for fabric is a little sticky and depends upon another open source library, paramiko being compatible with python3. As of now, the master version supports python 3.

也许值得一试,然后在此基础上构建Fabric实例,而不是从pip获取它.

It might be worth messing around with and then building your fabric instance on top of that instead of getting it from pip.

这篇关于Python 3对结构的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆