只爱整活周淑怡 发表于 2020-8-6 12:04:30

关于easygui。。。

安装不了easygui是怎么回事?这咋整?

C:\Users\86139>pip install easygui
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, ' certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)'))': /simple/easygui/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, ' certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)'))': /simple/easygui/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, ' certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)'))': /simple/easygui/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, ' certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)'))': /simple/easygui/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, ' certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)'))': /simple/easygui/
Could not fetch URL https://pypi.org/simple/easygui/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/easygui/ (Caused by SSLError(SSLCertVerificationError(1, ' certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)'))) - skipping
ERROR: Could not find a version that satisfies the requirement easygui (from versions: none)
ERROR: No matching distribution found for easygui
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(SSLCertVerificationError(1, ' certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)'))) - skipping

zltzlt 发表于 2020-8-6 12:37:22

请参考 https://fishc.com.cn/thread-143635-1-1.html 提高 pip 的安装速度再尝试安装

aaron.yang 发表于 2020-8-6 12:53:25

升级一下pip试试?

只爱整活周淑怡 发表于 2020-8-6 13:06:55

zltzlt 发表于 2020-8-6 12:37
请参考 https://fishc.com.cn/thread-143635-1-1.html 提高 pip 的安装速度再尝试安装

一般安装是不是只要打开cmd然后输入pip install easygui就可以?不用搞其他的?

zltzlt 发表于 2020-8-6 13:09:33

只爱整活周淑怡 发表于 2020-8-6 13:06
一般安装是不是只要打开cmd然后输入pip install easygui就可以?不用搞其他的?

是的

xiaosi4081 发表于 2020-8-6 13:14:05

只爱整活周淑怡 发表于 2020-8-6 13:06
一般安装是不是只要打开cmd然后输入pip install easygui就可以?不用搞其他的?

pip install easygui -i https://pypi.tuna.tsinghua.edu.cn/simple

只爱整活周淑怡 发表于 2020-8-6 13:18:16

好像好了很多但还是报错了这次是
C:\Users\86139>pip install easygui -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting easygui
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/89/b5/fd22bb3eb36085aeb7781670bbc59cf8b641b1774f77578ec06368865aa3/easygui-0.98.1-py2.py3-none-any.whl (90 kB)
   |████████████████████████████████| 90 kB 639 kB/s
Installing collected packages: easygui
Successfully installed easygui-0.98.1
WARNING: You are using pip version 20.1.1; however, version 20.2.1 is available.
You should consider upgrading via the 'c:\users\86139\appdata\local\programs\python\python38-32\python.exe -m pip install --upgrade pip' command.
他的意思是要我更新吗

只爱整活周淑怡 发表于 2020-8-6 13:19:54

xiaosi4081 发表于 2020-8-6 13:14


这次好了很多不过还是报错了C:\Users\86139>pip install easygui -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting easygui
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/89/b5/fd22bb3eb36085aeb7781670bbc59cf8b641b1774f77578ec06368865aa3/easygui-0.98.1-py2.py3-none-any.whl (90 kB)
   |████████████████████████████████| 90 kB 639 kB/s
Installing collected packages: easygui
Successfully installed easygui-0.98.1
WARNING: You are using pip version 20.1.1; however, version 20.2.1 is available.
You should consider upgrading via the 'c:\users\86139\appdata\local\programs\python\python38-32\python.exe -m pip install --upgrade pip' command.
这是要我更新吗

只爱整活周淑怡 发表于 2020-8-6 13:35:50

xiaosi4081 发表于 2020-8-6 13:14


莫名其妙就搞定了,可以import easygui了,但是他安装是还是有黄字warning
C:\Users\86139>pip install easygui -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: easygui in c:\users\86139\appdata\local\programs\python\python38-32\lib\site-packages (0.98.1)
WARNING: You are using pip version 20.1.1; however, version 20.2.1 is available.
You should consider upgrading via the 'c:\users\86139\appdata\local\programs\python\python38-32\python.exe -m pip install --upgrade pip' command.
这是不是算是安装成功了呢??

zltzlt 发表于 2020-8-6 13:40:43

只爱整活周淑怡 发表于 2020-8-6 13:35
莫名其妙就搞定了,可以import easygui了,但是他安装是还是有黄字warning

这是不是算是安装成功了呢 ...

算安装成功了,WARNING 可以不用理会

薛定谔's’猫 发表于 2020-8-6 13:42:25

只爱整活周淑怡 发表于 2020-8-6 13:35
莫名其妙就搞定了,可以import easygui了,但是他安装是还是有黄字warning

这是不是算是安装成功了呢 ...

升级pip:c:\users\86139\appdata\local\programs\python\python38-32\python.exe -m pip install --upgrade pip
页: [1]
查看完整版本: 关于easygui。。。