I ran into trouble installing wxPython Version 2.4.1.2.
Whenever I try to run the official demo it crashes after the first lines.
python demo.py
Traceback (most recent call last):
File "demo.py", line 3, in ?
import Main
File "Main.py", line 16, in ?
import wx # This module uses the new wx namespace
File "/usr/lib/python2.2/site-packages/wx/__init__.py", line 45, in ?
from wxPython import wx
File "/usr/lib/python2.2/site-packages/wxPython/__init__.py", line 15, in
?
__version__ = __version__.ver
AttributeError: 'module' object has no attribute 'ver'
System is Debian woody. Used the instructions in Readme.1st to compile
everything.
I'm sorry if this is one of the FAQs (frequently answered questions)
around here.
I ran into trouble installing wxPython Version 2.4.1.2.
Whenever I try to run the official demo it crashes after the first lines.
python demo.py
Traceback (most recent call last):
File "demo.py", line 3, in ?
import Main
File "Main.py", line 16, in ?
import wx # This module uses the new wx namespace
File "/usr/lib/python2.2/site-packages/wx/__init__.py", line 45, in ?
from wxPython import wx
File "/usr/lib/python2.2/site-packages/wxPython/__init__.py", line 15, in
?
__version__ = __version__.ver
AttributeError: 'module' object has no attribute 'ver'
System is Debian woody. Used the instructions in Readme.1st to compile everything. I'm sorry if this is one of the FAQs (frequently answered questions)
around here.
I think you have an old version of the wxPython package files in /usr/lib/python2.2/site-packages/wxPython. For some reason your install didn't update them. (Did you have the previous version installed from the .deb's? Perhaps there is a timestamp issue because of that...)
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!