【报错】

Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。:
'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-uninstall-6z7keac8\\program file
s\\anaconda3\\lib\\site-packages\\numpy\\core\\multiarray.cp35-win_amd64.pyd'
Consider using the `--user` option or check the permissions.

【解决方案】

原因分析:文件权限的问题,文件目录【C:\\Users】

修改此文件的权限,改为【完全控制】,具体方案如下:

【pip 安装TensorFlow 】 Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。:

【pip 安装TensorFlow 】 Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。:

 

 再重新安装TensorFlow就OK了!