简体   繁体   English

安装 pyang 失败

[英]Failed to install pyang

I'm trying to install pyang by pip install pyang command and I got this error: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/pyang/我正在尝试通过 pip install pyang 命令安装 pyang,但出现此错误:无法建立新连接:[Errno 101] Network is unreachable')': /simple/pyang/

Thank you.谢谢你。

there may be a proxy issue.可能存在代理问题。 you can try downloading the whl file from:您可以尝试从以下位置下载 whl 文件:

https://pypi.org/project/pyang/#files currently the link is this after that open terminal and go to the whl file directory and type: https://pypi.org/project/pyang/#files 当前链接是在打开终端和 go 之后到 whl 文件目录并键入:

pip install yourpackagename.whl

and it's done.它完成了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM