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, 的主要内容,如果未能解决你的问题,请参考以下文章