少将博客

学会感恩,乐于付出,珍惜缘份,成就彼此、

Cannot uninstall ‘numpy’.Could not install packages due to an EnvironmentError: 2018-12-9 星期日


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

 

 


0条评论

发表评论