Installation Help - Mandriva Linux 2008 - wxPython

Hi -
I had installed wxPython through Mandriva 2008.

$ urpmi wxpython

It installed the relevant .pyc files to /lib/include/python2.5/** directories.

When I do a

from wxPython.wx import *

I get a package not found error.

Can you please let me know the right instructions to get wxPython installed.

Hello,

You should import like this

import wx

Cody

···

On Feb 10, 2008, at 9:52 PM, Rakesh Sinha wrote:

Hi -
I had installed wxPython through Mandriva 2008.

$ urpmi wxpython

It installed the relevant .pyc files to /lib/include/python2.5/** directories.

When I do a

from wxPython.wx import *

I get a package not found error.

Can you please let me know the right instructions to get wxPython installed.

Thanks Cody -

I added
/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode

to PYTHONPATH.

That fixed the issue.

···

On Sun, Feb 10, 2008 at 8:04 PM, Cody Precord codyprecord@gmail.com wrote:

Hello,

You should import like this

import wx

Cody

On Feb 10, 2008, at 9:52 PM, Rakesh Sinha wrote:

Hi -
I had installed wxPython through Mandriva 2008.

$ urpmi wxpython

It installed the relevant .pyc files to /lib/include/python2.5/** directories.

When I do a

from wxPython.wx import *

I get a package not found error.

Can you please let me know the right instructions to get wxPython installed.