正如标题清楚地描述的那样,尽管我已经通过建议的方式(执行命令python -m pip install pymongo)成功安装了 PyMongo,但ImportError: No module named 'pymongo'在我尝试执行导入PyMongo.Python 版本: 3.7.0PyMongo版本:(3.7.1表示最佳匹配)ps (1) 操作系统为 Windows 10。(2) 类似问题的答案无效。编辑:这是命令的输出python -m easy_install pymongo:Searching for pymongoBest match: pymongo 3.7.1Processing pymongo-3.7.1-py3.7-win-amd64.eggpymongo 3.7.1 is already the active version in easy-install.pthUsing c:\users\talha\appdata\local\programs\python\python37\lib\site-packages\pymongo-3.7.1-py3.7-win-amd64.eggProcessing dependencies for pymongoFinished processing dependencies for pymongo命令的输出python -m pip install pymongo:Requirement already satisfied: pymongo in c:\users\talha\appdata\local\programs\python\python37\lib\site-packages\pymongo-3.7.1-py3.7-win-amd64.egg (3.7.1)我执行的命令是通过我的 Python 脚本模拟 Android 设备,该脚本同时使用MonkeyRunner和PyMongo模块:monkeyrunner.bat C:\Users\talha\Documents\PyCharmProjects\MonkeyRunner\test.py
添加回答
举报
0/150
提交
取消