[Freewx-maint] Bug#758209: wxpython3.0: cannot import 2.8 anymore

Olly Betts olly at survex.com
Sun Aug 17 08:06:47 UTC 2014

Control: tags -1 +pending

On Fri, Aug 15, 2014 at 01:47:17PM +0200, Julian Taylor wrote:
> the change of wxversion to 3.0 prevents importing wx if only 2.8 is
> installed.

Sorry I didn't see this sooner - I realise now I haven't yet subscribed
via the PTS to the new package.  Request sent to do so.

> apt-get install python-wxgtk2.8
> python -c "import wx"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: No module named wx

Apologies for this - I did test many of the combinations, but not those
where wxversion wasn't imported!  I was also falsely reassured by the
wxversion.py script being identical aside from some comment changes.

But looking through it for what the cause of this is, I see that the
newer python-wxversion contains wx.pth as a file rather than a symlink.

Will attempt to upload in the next few hours.


More information about the Freewx-maint mailing list