【发布时间】:2018-10-25 12:35:45
【问题描述】:
我正在尝试在 Ubuntu 上运行带有cherrypy的python。
我通过安装python
sudo apt-get update
sudp apt-get install python3.6
和cherrypy通过
git clone https://github.com/cherrypy/cherrypy
cd cherrypy
python setup.py install
但是当我尝试通过
python -m cherrypy.tutorial.tut01_helloworld
我收到错误消息“找不到名为 parse 的模块”。 通过运行它
python3.6 -m cherrypy.tutorial.tut01_helloworld
导致错误“找不到名为 cherrypy 的模块”。
【问题讨论】: