I am trying to import the web module of python to create a simple Hello World program on my browser using web.py
.
我正在尝试导入python的web模块,使用web.py在我的浏览器上创建一个简单的Hello World程序。
When I run it from the command line I am getting errors about the web.py package. If I run it from IDLE, it works fine.
当我从命令行运行它时,我收到有关web.py包的错误。如果我从IDLE运行它,它工作正常。
1 个解决方案
#1
Sometimes the problem is in the PYTHONPATH, and the IDE modify the environment variables so when you run it from there you don't have a problem.
有时候问题出现在PYTHONPATH中,IDE会修改环境变量,所以当你从那里运行它时就没有问题了。
#1
Sometimes the problem is in the PYTHONPATH, and the IDE modify the environment variables so when you run it from there you don't have a problem.
有时候问题出现在PYTHONPATH中,IDE会修改环境变量,所以当你从那里运行它时就没有问题了。