仍然没有用于 Python 3(或 3.3)的 wxPython 吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/20614409/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-18 20:50:27  来源:igfitidea点击:

Still no wxPython for Python 3 (or 3.3) yet?

pythonpython-3.xwxpythongui-toolkit

提问by PenguinCake

I wanted to start working with wxPython, but I found out that it isn't updated for Python 3. I'm using the newest verion of Python, 3.3 that is.

我想开始使用 wxPython,但我发现它没有针对 Python 3 进行更新。我使用的是 Python 的最新版本,即 3.3。

So I started looking on the web and found some people who said there wasn't, but these threads were like 3 years old.

所以我开始在网上查找,发现有些人说没有,但这些线程已经有 3 年的历史了。

So my question: Is there still no wxPython update for Python 3? Python 3 has been out for a couple of years now! There should be, right?

所以我的问题是:Python 3 还没有 wxPython 更新吗?Python 3 已经发布几年了!应该有吧?

Thanks

谢谢

采纳答案by Mike Driscoll

wxPython 4 is here and supports Python 2.7and 3.5. It can be found on PyPI - https://pypi.python.org/pypi/wxPythonand is installed via pip:

wxPython 4 在这里并支持Python 2.73.5。它可以在 PyPI 上找到 - https://pypi.python.org/pypi/wxPython并通过 pip 安装:

pip install wxPython

If you want to try the bleeding edge, there are snapshot builds here:

如果你想尝试前沿,这里有快照构建:

You will also want to check out the Migration Guideand the Classic vs Phoenixdocumentation page for more information about the changes to wxPython

您还需要查看迁移指南Classic vs Phoenix文档页面,以获取有关 wxPython 更改的更多信息

回答by Yoriz

ProjectPhoenixis in development and will allow wxpython to work with python3. I couln't tell you how long it will be till it is released but i think it can be used already to a certain extent.

ProjectPhoenix正在开发中,将允许 wxpython 与 python3 一起工作。我不能告诉你要多久才能发布,但我认为它已经可以在一定程度上使用。

How "stable" is Phoenix

凤凰有多“稳定”

Phoenix status

凤凰地位