ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: ‘C:\ProgramData\

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: ‘C:\ProgramData\,第1张

**

在 cmd 进行 pip install 时出现以下错误

**
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。


: ‘C:\ProgramData\Anaconda3\Lib\site-packages\tornado\init.py’
Consider using the --user option or check the permissions.
**

解决方式:加上“–user”

**
pip install --user xxxxxxx
**

结果发现又出现了以下错误:

**
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
pyspider 0.3.10 requires tornado<=4.5.3,>=3.2, but you’ll have tornado 6.1 which is incompatible.
**

解决方式:后面加上“–use-feature=2020-resolver”

**
pip install --user xxxxxx --use-feature=2020-resolver

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/569564.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-09
下一篇 2022-04-09

发表评论

登录后才能评论

评论列表(0条)

保存