Author Topic: no module named Wx  (Read 14404 times)

horace

  • Jr. Member
  • **
  • Posts: 2
no module named Wx
« on: February 11, 2008, 01:38:23 PM »
Hello,

I'm attempting to bring up Cube Gui from Red Hat 4.5 command line but get a return string
'import wx' and message ImportError: no module named wx

How do I rectify this?

I'm a newbie be gentle :)

Scot Brew

  • Hero Member
  • *****
  • Posts: 272
    • PipelineFX
Re: no module named Wx
« Reply #1 on: February 12, 2008, 12:07:14 AM »
This is something that should be fairly straightforward to fix.  You have a few options to get you going:
  • Run the precompiled QubeGUI-- The GUI has already been compiled on many flavors and versions of Linux to address any dependencies like wx.  The closest one to your version is likely RHEL 4.0.  If you have already installed that rpm, then it should be located under /usr/local/pfx/qube/bin/qube.
  • Install the required components and run the GUI from the python scripts -- Install wxpython 2.7.2 or above and use python 2.3 or above (though 2.4 or above is preferred).  You can find precompiled rpms for supported Linux flavors, including RHEL 4.0 on our ftp site under ftp://ftp.pipelinefx.com/pub/libs/.

horace

  • Jr. Member
  • **
  • Posts: 2
Re: no module named Wx
« Reply #2 on: February 13, 2008, 01:33:43 PM »
Thank you for your help on this. I had not installed wxPython, python-devel, ez_setup.py or numby.

I now have Qube GUI 5.2.2 on the desktop which launches from full path command.

I have problems on the install of numby setup.py script and the ez_setup.py ?

but slowly moving forward

Thanks once again  :)

« Last Edit: February 13, 2008, 02:23:22 PM by horace »