Pycharm下载tensorflow问题

【报错】Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'f:\\strsoftware\\anaconda\\stranaconda\\lib\\site-packages\\tensorflow\\python\\_pywrap_tensorflow_internal.pyd'
Consider using the `--user` option or check the permissions.

或者:

【报错】Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-uninstall-f7rqmg9w\\users\\administrator\\appdata\\roaming\\python\\python36\\site-packages\\scipy\\.lib
s\\libansari.r6ea3hqp5kz6taxu4y4zvtrpt7uva53z.gfortran-win_amd64.dll'
Check the permissions.

【解决方案】

在pycharm的terminal中:

pip install --user  -i https://pypi.doubanio.com/simple tensorflow==2.2.0(版本号,可改)

Pycharm下载tensorflow问题_第1张图片

 

你可能感兴趣的:(bug,深度学习)