On Oct 30, 2008, at 7:10 PM, Iain Simpson wrote: >> > Your wxPython installation was not built correctly. Please make sure >> > that >> > the following required libraries have been built: >> > >> > wx >> > wx.stc >> > etc > >> > I am missing a step somewhere
Ed Leafe wrote > It looks like wxPython is not being found. From a python session, type: > import wx > What do you get? "ImportError: No module named wx" I suspected that this was the problem so I went to /usr/lib/python2.5/site-packages and ran wxversion.py which came up with > ['2.8-gtk2-unicode', > '2.8-gtk2-unicode', > '2.7.1-gtk2-ansi', > '2.6-gtk2-unicode', > '2.6-gtk2-ansi', > '2.6-gtk-ansi', > '2.5.3-gtk-ansi', > '2.5.2-gtk2-unicode', > '2.4-gtk-ansi'] > True > True > False > Current sys.path: > ['/usr/share/pyshared', > '/usr/lib/python2.5/site-packages/setuptools-0.6c3-py2.5.egg', > '/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg', > '/home/iain/lib/python', > '/usr/lib/python25.zip', > > '/usr/lib/python2.5', > '/usr/lib/python2.5/plat-linux2', > '/usr/lib/python2.5/lib-tk', > '/usr/lib/python2.5/lib-dynload', > '/usr/local/lib/python2.5/site-packages', > '/usr/lib/python2.5/site-packages', > '/usr/lib/python2.5/site-packages/Numeric', > '/usr/lib/python2.5/site-packages/PIL', > '/usr/lib/python2.5/site-packages/gst-0.10', > '/var/lib/python-support/python2.5', > '/usr/lib/python2.5/site-packages/gtk-2.0', > '/var/lib/python-support/python2.5/gtk-2.0', > '/tmp'] > > Asked for 2.4, (False): got: /tmp/wx-2.4-gtk-ansi > Asked for 2.5, (False): got: /tmp/wx-2.5.3-gtk-ansi > Asked for 2.5-gtk2, (False): got: /tmp/wx-2.5.2-gtk2-unicode > Asked for 2.5.2, (False): got: /tmp/wx-2.5.2-gtk2-unicode > Asked for 2.5-ansi, (False): got: /tmp/wx-2.5.3-gtk-ansi > Asked for 2.5-unicode, (False): got: /tmp/wx-2.5.2-gtk2-unicode > Asked for 2.6, (False): got: /tmp/wx-2.6-gtk2-unicode > Asked for 2.6-ansi, (False): got: /tmp/wx-2.6-gtk2-ansi > Asked for ['2.6-unicode', '2.7-unicode'], (False): got: > /tmp/wx-2.6-gtk2-unicode > Asked for ['2.6', '2.7'], (False): got: /tmp/wx-2.7.1-gtk2-ansi > Asked for ['2.6-unicode', '2.7-unicode'], (True): got: > /tmp/wx-2.6-gtk2-unicode > Asked for 2.4-unicode, (False): got: /tmp/wx-2.4-gtk-ansi > Asked for ['2.5.2', '2.5.3', '2.6'], (False): got: /tmp/wx-2.6-gtk2-unicode > Asked for 2.9: got Exception: Requested version of wxPython not found > Asked for incompatible versions, got Exception: A previously selected wx > version does not match the new request. > EM: Asked for 2.6, (False): got: > /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode > EM: Asked for 2.6-unicode, (False): got: > /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode > EM: Asked for 2.6-unicode, (True): got: > /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode > EM: Asked for 2.9: got Exception: Requested version of wxPython not found Unfortunately I haven't got enough understanding yet of python to make sense of it. The following folders/links are in site-packages > drwxr-xr-x 4 root root 4096 2008-10-30 23:00 wx-2.8-gtk2-unicode > drwxr-xr-x 2 root root 4096 2008-10-30 23:01 wxaddons > lrwxrwxrwx 1 root root 45 2008-10-30 23:01 wxaddons-2.8.9.1.egg-info -> > /usr/share/pyshared/wxaddons-2.8.9.1.egg-info It seems that wxpython has not completely installed - should I re-install or will that only confuse the issue ? Thanks for your help Iain ps. The Subject is now not accurate. As a matter of style should it be changed or left as a complete thread. (Sorry new to using the mailing list system) _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
