pip安装软件包报Could not fetch URL
使用pip安装Python的robotframework软件包,报错情况如下:
coder:site-packages coder$ sudo -H pip --trusted-host pypi.python.org install robotframework
Collecting robotframework
Could not fetch URL https://pypi.python.org/simple/robotframework/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement robotframework (from versions: )
No matching distribution found for robotframework
如上使用了--trusted-host
参数标记为信任,还是不行,请问如何解决?
没有找到相关结果
已邀请:
1 个回复
空心菜 - 心向阳光,茁壮成长
我们可以用以下方法手动更新:
1、mac或者linux操作系统
2.windows操作系统
从https://bootstrap.pypa.io/get-pip.py 下载get-pip.py文件,然后使用python运行这个文件python get-pip.py即可。