使用pip安装web.py,但错误:
C:\Users\apple>pip install web.py
Collecting web.py
Downloading web.py-0.38.tar.gz (91kB)
100% |████████████████████████████████| 92kB 537kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\apple\AppData\Local\Temp\pip-build- drp6zgow\web.py\setup.py", line 6, in <module>
from web import __version__
File "C:\Users\apple\AppData\Local\Temp\pip-build-drp6zgow\web.py\web\__init__.py", line 14, in <module>
import utils, db, net, wsgi, http, webapi, httpserver, debugerror
ModuleNotFoundError: No module named 'utils'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
C:\Users\apple\AppData\Local\Temp\pip-build-drp6zgow\web.py\
你能告诉我如何解决它的原因和步骤吗?
答案 0 :(得分:2)
试试以下
pip2 install web.py