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,

 

上一篇:“OSError: [WinError 126] 找不到指定的模块”的解决办法


下一篇:ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory:错误解决