问题描述
安装web.py0.38版本的时候, 提示
ImportError: No module named 'utils'
, 无法继续安装.
$ pip install web.py
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 "/tmp/pip-build-7ijbvbx_/web.py/setup.py", line 6, in <module>
from web import __version__
File "/tmp/pip-build-7ijbvbx_/web.py/web/__init__.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 /tmp/pip-build-7ijbvbx_/web.py/
解决方法
安装0.40开发版本,或者使用0.37版本.
$ sudo pip3 install web.py==0.40.dev0