wxPython import error...

Discussion in 'Python' started by king kikapu, Mar 5, 2007.

  1. king kikapu

    king kikapu Guest

    Hi,

    i am just completed installing Python/Pydev/Eclipse/wxPython on an
    Ubuntu system and all are running fine except program that contains
    references to wx

    It gives me:
    ImportError: /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/
    _core_.so: undefined symbol: PyUnicodeUCS4_FromEncodedObject

    I installed the wx packages the way the wx web site says, especially
    for Ubuntu.

    Can anyone help with this as i have been searching the net for this
    with no luck...

    Thanks for any help
     
    king kikapu, Mar 5, 2007
    #1
    1. Advertising

  2. king kikapu

    Chris Mellon Guest

    On 4 Mar 2007 16:42:07 -0800, king kikapu <> wrote:
    > Hi,
    >
    > i am just completed installing Python/Pydev/Eclipse/wxPython on an
    > Ubuntu system and all are running fine except program that contains
    > references to wx
    >
    > It gives me:
    > ImportError: /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/
    > _core_.so: undefined symbol: PyUnicodeUCS4_FromEncodedObject
    >
    > I installed the wx packages the way the wx web site says, especially
    > for Ubuntu.
    >
    > Can anyone help with this as i have been searching the net for this
    > with no luck...
    >
    > Thanks for any help
    >
    > --



    This looks like you somehow installed the Redhat packages instead -
    Redhat builds their Python with UCS4, everyone else uses UCS2. Did you
    download the RPMs and convet them rather than adding the wxCommunity
    repo to your sources.lst?
     
    Chris Mellon, Mar 6, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anand
    Replies:
    1
    Views:
    372
    Cliff Wells
    Jul 23, 2003
  2. ulysses
    Replies:
    4
    Views:
    820
    Werner Schiendl
    Oct 22, 2003
  3. Logan
    Replies:
    5
    Views:
    792
    David Bolen
    Dec 11, 2003
  4. Ruben Charles
    Replies:
    6
    Views:
    517
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Oct 25, 2005
  5. wxPython import error

    , Oct 25, 2005, in forum: Python
    Replies:
    1
    Views:
    513
    Michele Petrazzo
    Oct 26, 2005
Loading...

Share This Page