Cannot uninstall ‘numpy’.Could not install packages due to an EnvironmentError:

开发笔记 admin 5个月前 (12-09) 586次浏览 已收录 0个评论 扫描二维码

mac环境tensorflow安装出现的问题。

Cannot uninstall ‘numpy’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

pip install --ignore-installed tensorflow

 

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: ‘/Library/Python/2.7/site-packages/enum/LICENSE’
Consider using the --user option or check the permissions.

pip install --ignore-installed tensorflow --user

 

 


少将博客 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Cannot uninstall ‘numpy’.Could not install packages due to an EnvironmentError:
喜欢 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址