Is the combination of Python 3 and PyQt 4 recommended? Are there any alternatives?
Asked
Active
Viewed 1.1k times
2 Answers
8
I don't see why not, there is a version available for Python 3 which works normally, and the only alternative if you really need Qt would be PySide, which is far from being compatible with Python 3.
Other GUI alternatives would be wxPython (not in Python 3 yet AFAIK) and the "native" Tkinter (which is something else...).
0
If PyQt4 is the only non-native module you need, there should be no problem. Check if all modules you need are available for Py3k! PyQt4 for Py3k is not yet integrated into all distributions. I.e. on Debian PyQt4 only works with Python 2 currently.
Have a look at 3to2! A tool to convert Py3 to Py2 code. That is just better than coding in Py2 and using 2to3.

phobie
- 2,514
- 1
- 20
- 21
-
What does *standard Debian* mean, considering that it has 3 main suites (stable, testing, unstable)? – tshepang Aug 20 '11 at 07:19
-
On lenny/oldstable with Python 2.4 and 2.5 On squeeze/stable with Python 2.5 and 2.6 On wheezy/testing with Python 2.6 and 2.7 On sid/unstable with Python 2.6 and 2.7 As of today on i386 and amd64. – phobie Aug 25 '11 at 16:31