python - 我安装了 Tornado,但我无法运行我的脚本。我不断收到“ImportError:没有名为龙卷风的模块”
问题描述
我刚来这地方。我目前正在运行一个虚拟环境,但是我似乎无法运行我正在测试的脚本。
我的虚拟环境中安装了 tornado 4.4.2。
请参考我的代码片段如下:
from tornado import httpserver, httpclient, ioloop, web, websocket, gen
但是,我不断收到以下错误:
"C:\Users\User\.\main.py"line 7, in <module>
from tornado import httpserver, httpclient, ioloop, web, websocket, gen
ImportError: No module named tornado"
解决方案
推荐阅读
- python - 在 Flask Response 中生成 google 的 MediaIoBaseDownload
- vba - 使用您也可以编辑的 if else 语句将新记录添加到表单
- swift - 使用具有最小内容顶部锚的 UIScrollView 会导致视觉故障
- git - 提交多个需要连续合并提交的故事的最佳 Git 策略
- php - 如何在管理页面中添加自定义 wc_add_notice?
- ios - 如何显示从数据库中获取的值?
- html - 尽管为标签设置了绝对和相对显示,但背景图像不显示
- html - Firefox 后退按钮在同一页面中指向 id 的链接后行为异常
- php - 将信息从项目传递到 PHP 中的项目显示页面
- sql - 访问查询以分组并选择每组两个随机行