[wxPython] ImportError: No module named wxPython.wx

hello

                    I'm new with python, and new with linux programming,
i used to execute python with wxpyhton with no trouble with windoze.

                    Now, i changed to linux and downloaded Pyhton2.0b2,
with wxGTK2.2.2 and wxPython2.2.1. I had installed pyhton1.5 already,
and when i try to
                     install wxGTK and wxPython, I can't do it in the
Python2.02/site-packages path because they are installed in the
Python1.5/site-packages path.

                    Anyway, when i try to run a demo, or anything else,
python answers me with: "ImportError: No module named wxPython".

                    I try it from the pyhton1.5 path, and from any other
path, and i always see the same message. When i run Python from command
line, it is the newer version which runs.

znx for ur time

···

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

                    I'm new with python, and new with linux programming,
i used to execute python with wxpyhton with no trouble with windoze.

                    Now, i changed to linux and downloaded Pyhton2.0b2,
with wxGTK2.2.2 and wxPython2.2.1. I had installed pyhton1.5 already,
and when i try to
                     install wxGTK and wxPython, I can't do it in the
Python2.02/site-packages path because they are installed in the
Python1.5/site-packages path.

The RPMs that are available so far are only for Python 1.5.2. If you want
to use a different version of Python you will need to rebuild wxPython
yourself.

                    Anyway, when i try to run a demo, or anything else,
python answers me with: "ImportError: No module named wxPython".

This is because the 1.5/site-packages directory is not on Python 2.0's
PYTHONPATH.

                    I try it from the pyhton1.5 path, and from any other
path, and i always see the same message. When i run Python from command
line, it is the newer version which runs.

Try this:

    python1.5 demo.py

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxPython.org Java give you jitters?
http://wxPROs.com Relax with wxPython!

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users