Main.py in Linux

Hi list,

Does anybody know how to run the wxPython demo on Linux?

I installed wxPython sucessfully on Ubuntu breezy and the wxPySimpleApp example runs ok. But demo.py doesn't work:

···

--------------------------
Traceback (most recent call last):
  File "/usr/share/doc/wx2.6-examples/examples/wxPython/demo.py", line 3, in ?
    import Main
ImportError: No module named Main
------------------------

I couldn't locate a file with name "Main.py" in the context of wxPython.

Regards,

Aroldo.

If it's like Debian, many of the needed files are gzipped. You'll need to
gunzip them, probably into some user directory where you can play with the
contents. Be sure to go through the subdirectories as well when you invoke
the gunzip.

HTH--

   -frank

···

On Wed, 28 Dec 2005, Aroldo Souza-Leite wrote:

Does anybody know how to run the wxPython demo on Linux?

I installed wxPython sucessfully on Ubuntu breezy and the wxPySimpleApp example runs ok. But demo.py doesn't work:

--------------------------
Traceback (most recent call last):
File "/usr/share/doc/wx2.6-examples/examples/wxPython/demo.py", line 3, in ?
  import Main
ImportError: No module named Main
------------------------

I couldn't locate a file with name "Main.py" in the context of wxPython.