**
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: ‘f:\python\anaconda\lib\site-packages\~umpy\core\_multiarray_tests.cp37-win_amd64.pyd’
**
安装其他版本的包会出现这样的报错
同时也有提示:
Consider using the `--user` option or check the permissions.
所以就变成:
pip install --user -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com tensorflow-gpu==1.14.0
即在install后面加–user即可。