Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a web.py for python3 yet?

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.

like image 570
David John Coleman II Avatar asked May 04 '17 19:05

David John Coleman II


People also ask

What does Web PY do?

Web.py lets you write web apps in Python.”* — Alice Atlas.


1 Answers

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.

like image 192
Martijn Pieters Avatar answered Oct 01 '22 13:10

Martijn Pieters