不能跑困猫鼬

时间:2019-09-14 00:51:56

标签: python-2.7 sleepy-mongoose

当我尝试启动sleepy.mongoose(python httpd.py)时,出现以下错误:

Traceback (most recent call last):
  File "/sds/sleepy.mongoose-master/sleepymongoose/httpd.py", line 17, in <module>
    from handlers import MongoHandler
  File "/sds/sleepy.mongoose-master/sleepymongoose/handlers.py", line 16, in <module>
    from pymongo import Connection, ASCENDING, DESCENDING
ImportError: cannot import name Connection

我使用了此页面上的一些脚本How to list imported modules? 但在模块中找不到连接。

赞赏一些技巧。

0 个答案:

没有答案