PDA

View Full Version : PyGTK / Python 3?



chris062689
December 18th, 2008, 09:26 AM
Is PyGTK compatible with Python 3?
Is there anyway to install Python 3 alongside Ubuntu's version?

I want to develop all of my apps with Python 3, but I don't know if PyGTK / Ubuntu will like that... :lolflag:

.Maleficus.
December 18th, 2008, 12:11 PM
You can install Python 3.0 just fine along side 2.5.2/2.6/whatever you use. I'm not sure about PyGTK though; that's just something you'll have to try for yourself.

When you install the new Python, you'll probably need to make a symlink in /usr/bin to the new Python 3.0 binary - the default install is in /usr/local/bin I think.

hivelocitydd
December 18th, 2008, 12:15 PM
Current PyGTK will not compile with Python 3 libraries. Maybe PyGTK
2.16 will

wmcbrine
December 18th, 2008, 04:09 PM
I want to develop all of my apps with Python 3I think that would be very premature. You might set compatibility with 3 as a goal, but it shouldn't be your primary platform yet.