Python 3 support for fabric

前端 未结 7 1457
时光取名叫无心
时光取名叫无心 2020-12-25 09:28

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

7条回答
  •  遥遥无期
    2020-12-25 10:10

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

    pip install -U "fabric>2.0.0"
    

    OLD Answer (as of 2013)

    From the docs:

    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

    Or to be more specific:

    eventual Python 3.x compatibility

    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.

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

提交回复
热议问题