Could not install packages due to an OSError: ("Connection broken: ConnectionResetError(10054,

Posted HI IT

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not install packages due to an OSError: ("Connection broken: ConnectionResetError(10054, 相关的知识,希望对你有一定的参考价值。

今天安装微软AI量化投资平台Qlib遇到报错

ERROR: Could not install packages due to an OSError: ("Connection broken: ConnectionResetError(10054, \'远程主机强迫关闭 了一个现有的连接。\', None, 10054, None)", ConnectionResetError(10054, \'远程主机强迫关闭了一个现有的连接。\', None, 10054, None))

解决方案:

在install  ***(库名) 后面加上 --user就可以了,这个是权限不足引发的问题。

 

以上是关于Could not install packages due to an OSError: ("Connection broken: ConnectionResetError(10054, 的主要内容,如果未能解决你的问题,请参考以下文章

Your requirements could not be resolved to an installable set of packages

[Python配置]执行pip install出现Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。的解

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

Could not install packages due to an OSError: ("Connection broken: ConnectionResetError(10054,

使用pip命令安装库时提示Could not build wheels for six, since package 'wheel' is not installed

[已解决]报错: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/