是否有针对python3的web.py?

问题描述 投票:4回答:1

当我尝试使用pip3安装时:

$ pip3 install web.py

我收到一个错误:

Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-i9tahb62/web.py/

我看到旧的支持论坛声称web.py尚未更新,但它即将到来,并且他们的github有一个python3和py3分支。但是,我在web.py python3版本上找不到任何文档。

python python-3.x web.py web-frameworks
1个回答
10
投票

web.py项目现在向PyPI发布预发布版本,兼容Python 3;安装它:

pip install web.py==0.40-dev1

in their Getting Started section所述。您也可以安装最新的预发行版

pip install --pre web.py

这些版本兼容Python 3(Python 3.5及更高版本)。

您还可以使用以下命令安装当前GitHub开发中的代码库:

pip3 install git+https://github.com/webpy/webpy#egg=web.py

该项目使用Travis进行持续集成has configured Python 3.5为每次提交运行测试套件,因为June 2016;此后,配置已定期更新,以添加新的Python 3.x版本。

© www.soinside.com 2019 - 2024. All rights reserved.