pip install web.py 安裝失敗
我 的Python 版本3.4
錯(cuò)誤信息如下
Collecting web.py
? Using cached web.py-0.38.tar.gz
??? Complete output from command python setup.py egg_info:
??? Traceback (most recent call last):
????? File "<string>", line 1, in <module>
????? File "C:\Users\lcqbug\AppData\Local\Temp\pip-build-pw5glk26\web.py\setup.p
y", line 6, in <module>
??????? from web import __version__
????? File "C:\Users\lcqbug\AppData\Local\Temp\pip-build-pw5glk26\web.py\web\__i
nit__.py", line 14, in <module>
??????? import utils, db, net, wsgi, http, webapi, httpserver, debugerror
??? ImportError: No module named 'utils'
??? ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\lcqbug\A
ppData\Local\Temp\pip-build-pw5glk26\web.py\
2019-07-03
Get Started
web.py 0.39 is the latest released version of web.py. You can install it by running:
The above version only supports Python 2. If you looking for Python 3 support, try the experimental version.
Or to get the latest development version from git:
2019-02-28
pip uninstall web.py? ?卸載
pip install web.py==0.40.dev0?
修改Lib\site-packages\web?下的utils.py文件。
將第526行的
修改為
2018-05-31
pip install web.py==0.40.dev0? 完美解決
2018-01-29