成功解决Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'f:\\program files\\p

简介: 成功解决Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'f:\\program files\\p

解决问题


Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'f:\\program files\\python\\python36\\lib\\site-packages\\numpy\\core\\_multiarray_tests.cp36-win_amd64.pyd'




解决思路


由于环境原因,无法安装程序包错误:[WinError 5]拒绝访问



解决方法


考虑使用“--user”选项或检查权限


pip install --user package

pip install --user tensorflow==1.10.0


大功告成!


相关文章
|
3月前
|
安全 数据安全/隐私保护 开发者
【Python】 已解决:ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: ‘e:\anaconda\i
【Python】 已解决:ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: ‘e:\anaconda\i
196 11
【Python】 已解决:ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: ‘e:\anaconda\i
|
3月前
|
Linux 数据安全/隐私保护 开发者
【Python】已解决:ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: ‘e:\anaconda\in
【Python】已解决:ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: ‘e:\anaconda\in
447 2
|
5月前
|
Python
【报错】Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/METADATA‘
【报错】Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/METADATA‘
106 0
|
11月前
|
缓存 JavaScript
Error: EPERM: operation not permitted, mkdir ‘C:\Program Files\nodejs‘TypeError: Cannot read proper
Error: EPERM: operation not permitted, mkdir ‘C:\Program Files\nodejs‘TypeError: Cannot read proper
115 0
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
|
11月前
|
Python
Could not install packages due to anEnvironmentError: [WinError 5] 拒绝访问
Could not install packages due to anEnvironmentError: [WinError 5] 拒绝访问
|
开发者 Python
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied
402 0
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied
|
C语言 Python Windows
gcc: error: /FIPython.h: File o directory non esistente
gcc: error: /FIPython.h: File o directory non esistente
114 0
AndroidStudio:Path is not a readable directory.
AndroidStudio:Path is not a readable directory.
126 0
curses.h: No such file or directory
curses.h: No such file or directory
121 0