-   Linux - Software (
-   -   Python and wxWidgets help (

teknik 12-10-2007 01:21 AM

Python and wxWidgets help

I'm running Slackware 12, and I have installed the following packages from :


When in python, if I try to import wx, I get this error:

>>> import wx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named wx

looking in the site-packages directory...there is no wx anything in there, which is weird to me because I have those packages installed. I'm not sure if I have to change a path somewhere or link some things somewhere? Am I missing a package? Please any help would be appreciated, this is driving me nuts. Thanks.

titopoquito 01-17-2008 04:46 PM

Hi teknik,

I just stumpled upon your question and thought you might want a response, even if it's somewhat late :)

What you installed looks like overkill. wxWidgets and wxGTK are basically the same, because on Linux wx uses the GTK toolkit. I installed wxPython some days ago with the slackbuild from -- at least their version conflicts with wxGTK, so that I am fine with wxPython alone.

I hope you can still make use of my suggestion ...

All times are GMT -5. The time now is 08:26 AM.