MYPYNOTE

导航

 

在python2.7的环境下,使用pip install pymongo安装模块报以下错误:

Could not install packages due to an EnvironmentError: [Error 5] : 'd:\\program files\\python2.7\\Lib\\site-packages\\bson\\_cbson.pyd'
Consider using the `--user` option or check the permissions

根据错误提示, 改为pip install --user pymongo之后能安装成功

posted on 2018-08-05 15:01  MYPYNOTE  阅读(382)  评论(0)    收藏  举报