为什么电脑安装了pymongo等模块,在命令行可以impor

2025-01-20 05:51:22
推荐回答(1个)
回答1:

apache的错误日志这样显示:
File "D:\\AppServ\\www\\XYingPY\\db\\MongoDB.py", line 1, in \r
[Wed Dec 17 10:17:13 2014] [error] [client 127.0.0.1] import pymongo\r
[Wed Dec 17 10:17:13 2014] [error] [client 127.0.0.1] ImportError: No module named pymongo\r