python - 使用pip安装wxPython(Python2.7)

标签 python python-2.7 wxpython

我尝试从 MacOS 终端安装 wx python,尝试了以下 2 种方法:

python -m pip install wxPython (also tried "...-U wxPython")

sudo -H pip install wxPython

我两次都收到以下错误:

Collecting wxPython Could not fetch URL https://pypi.python.org/simple/wx/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping

Could not find a version that satisfies the requirement wxPython (from versions: ) No matching distribution found for wxPython

使用Python 2.7。任何建议将不胜感激!

最佳答案

您需要使用的名称是wxPython而不是wx。 (https://pypi.org/project/wxPython/)

此外,您可以通过将 Python 和 pip 更新到最新版本来避免 SSL 错误。

关于python - 使用pip安装wxPython(Python2.7),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50805588/

相关文章:

python - 如何使用 python 更新 Elastic Search ( Kibana ) 中可用的大量 Json 数据

linux - 如何打开编写Python程序的页面,编译并运行它并查看输出?

python - 为什么我的 wxpython 程序在关闭时崩溃了?

python - Python 2.7 中的 UnicodeDecodeError

database - 如何从另一台计算机访问 CouchDB 服务器?

python - wxPython 和 Windows 开发的 Sparkle Framework 替代方案

python - 在 wxpython 中模拟棋盘

python - 将 PDF 转换/写入 RAM 作为类似文件的对象,以便进一步使用它

python - 使用 tf.layer.conv 正确用法 - 激活和 Activity_regularizer

python - 在多重继承的情况下, super 方法如何在 python 中工作?