码迷,mamicode.com
首页 > 编程语言 > 详细

【python】安装pymongo时出错

时间:2018-08-05 15:23:52      阅读:446      评论:0      收藏:0      [点我收藏+]

标签:environ   file   option   --   ons   iss   成功   env   环境   

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

【python】安装pymongo时出错

标签:environ   file   option   --   ons   iss   成功   env   环境   

原文地址:https://www.cnblogs.com/HAHACHANGEFROMNOW/p/9425534.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!