问题
when I try to install with pip3:
$ pip3 install web.py
I receive an error:
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-i9tahb62/web.py/
I see old support forums stating that the web.py has not yet updated, but it's coming, and their github has a python3 and py3 branch. Yet, I can't find any documentation on web.py python3 version.
回答1:
The web.py
project is now publishing a pre-release version to PyPI that is Python 3 compatible; install it with:
pip install web.py==0.40-dev1
as outlined in their Getting Started section. You can also install the latest pre-release with
pip install --pre web.py
These releases are Python 3 compatible (Python 3.5 and up).
You can also install the current GitHub under-development codebase with:
pip3 install git+https://github.com/webpy/webpy#egg=web.py
The project uses Travis for continuous integration has configured Python 3.5 to run the test suite for each commit, since June 2016; the configuration has since been updated regularly to add new Python 3.x releases.
来源:https://stackoverflow.com/questions/43791484/is-there-a-web-py-for-python3-yet