【python】安装pymongo时出错

在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之后能安装成功

猜你喜欢

转载自www.cnblogs.com/HAHACHANGEFROMNOW/p/9425534.html