Re: wx.version() difference between Python2/3
Werner <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2/25/2015 11:24, [email protected] wrote: > I build in the last three hours wxPhoenix with Python2 and 3. > > Is it correct that the version-string differs between this two Pythons? > > > Python 3.4.0 (default, Apr 11 2014, 13:05:18) > [GCC 4.8.2] on linux >>>> import wx >>>> wx.version() > '3.0.3.dev1684+6933551 gtk2 (phoenix)' > > > Python 2.7.6 (default, Mar 22 2014, 22:59:38) > [GCC 4.8.2] on linux2 >>>> import wx >>>> wx.version() > '2.8.12.1 (gtk2-unicode)' > With Py2.7 you must have build the classic instead of wxPython-Phoenix, or the default wx version found is classic. On Windows the default is defined in the file wx.pth under site-packages, sorry don't know how that is done in Linux. Werner -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.