全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1282|回复: 4

大佬python安装环境,帮我看看这是什么问题啊

[复制链接]
发表于 2021-3-20 21:11:57 | 显示全部楼层 |阅读模式
要安装pip install stem pySocket requests beautifulsoup4 ws4py Faker 这些
提示这些
  1. C:\Users\123>pip install stem pySocket requests beautifulsoup4 ws4py Faker
  2. Defaulting to user installation because normal site-packages is not writeable
  3. WARNING: 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:1123)'))': /simple/stem/
  4. 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:1123)'))': /simple/stem/
  5. 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:1123)'))': /simple/stem/
  6. 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:1123)'))': /simple/stem/
  7. 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:1123)'))': /simple/stem/
  8. Could not fetch URL https://pypi.org/simple/stem/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/stem/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))) - skipping
  9. ERROR: Could not find a version that satisfies the requirement stem
  10. ERROR: No matching distribution found for stem
  11. Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))) - skipping
复制代码


已经安装python3了
  1. Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec  7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32
复制代码


按照网上的教程都不行
出错情况:

pip install XXX
pip3 install XXX
1
2
改成:

python -m pip install XXX
python3 -m pip install XXX
比如这个
大佬带带我吧
发表于 2021-3-20 21:14:39 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2021-3-20 21:20:17 | 显示全部楼层
  1. python -m pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip
复制代码
 楼主| 发表于 2021-3-20 21:36:12 | 显示全部楼层

谢谢大佬哈哈,我直接加镜像源安装成功了, 这些太复杂了哈哈哈
发表于 2021-3-20 21:54:31 | 显示全部楼层
我爱你 发表于 2021-3-20 21:36
谢谢大佬哈哈,我直接加镜像源安装成功了, 这些太复杂了哈哈哈

原来是弄这个呀?

https://github.com/geuomao/FLAgowbfmxSqqtps
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-5-14 15:25 , Processed in 0.057933 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表