无法在 PyCharm 上安装 PySimpleGUI

问题描述 投票:0回答:0

我正在尝试在我的 Mac (MacOS 13.0.1) 上的 PyCharm 上安装 PySimpleGUI。两种推荐的安装方式都不起作用:

当我尝试通过设置 > Python 解释器 > + > PySimpleGUI > 安装包进行安装时

我收到这条消息:

Error occurred when installing package 'PySimpleGUI'.

然后建议尝试通过在终端中运行 pip 命令来安装。当我在终端中运行 pip 和 pip3 命令时,我收到以下消息:

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:992)'))': /simple/pysimplegui/
Could not fetch URL https://pypi.org/simple/pysimplegui/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pysimplegui/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:992)'))) - skipping
ERROR: Could not find a version that satisfies the requirement PySimpleGUI (from versions: none)
ERROR: No matching distribution found for PySimpleGUI

如果有人能够确定问题,请告诉我

我试过观看 youtube 教程并阅读此处的帖子以获得此问题的答案,但我找不到任何专门为我回答此问题的内容。

python pycharm pysimplegui
© www.soinside.com 2019 - 2024. All rights reserved.