失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > pip报错:Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirm

pip报错:Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirm

时间:2020-05-17 22:13:11

相关推荐

pip报错:Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirm

Could not fetch URL https://pypi.tuna./simple/pip/: There was a problem confirming

今天在学习过程中下载输入pip install Pandas包时出现错误

WARNING: Ignoring invalid distribution -ip (d:\python36\python-amd\lib\site-packages)WARNING: Ignoring invalid distribution -ip (d:\python36\python-amd\lib\site-packages)Looking in indexes: https://pypi.tuna./simpleWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:833)'),)': /simple/pandas/WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:833)'),)': /simple/pandas/WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:833)'),)': /simple/pandas/WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:833)'),)': /simple/pandas/WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:833)'),)': /simple/pandas/Could not fetch URL https://pypi.tuna./simple/pandas/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.', port=443): Max retries exceeded with url: /simple/pandas/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:833)'),)) - skippingERROR: Could not find a version that satisfies the requirement pandas (from versions: none)ERROR: No matching distribution found for pandasWARNING: Ignoring invalid distribution -ip (d:\python36\python-amd\lib\site-packages)WARNING: Ignoring invalid distribution -ip (d:\python36\python-amd\lib\site-packages)Could not fetch URL https://pypi.tuna./simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:833)'),)) - skipping

在网络上搜索一些资料后问题就解决了

trusted-host 意思是信任这个地址(这就免去了ssl验证)

pip install Pandas -i http://pypi.tuna./simple --trusted-host pypi.tuna.

如果觉得《pip报错:Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirm》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。