wxGlade error

Michael S msherman77 at yahoo.com
Mon Oct 9 18:03:48 PDT 2006


Have you just installed wxPython?
Maybe you need to execute the rehash command?

What if you try running python from the command line,
and try importing the package from within the
interpreter, i.e. typing "from wxPython.wx import *"?
Does it load the module?

--- Rod Person <rodperson at adelphia.net> wrote:

> When I try to run wxGlade on FreeBSD 7 Current I get
> the following
> error:
> 
> Traceback (most recent call last):
>   File
>
"/usr/local/lib/python2.4/site-packages/wxglade/wxglade.py",
> line
> 148, in ?
>     run_main()
>   File
>
"/usr/local/lib/python2.4/site-packages/wxglade/wxglade.py",
> line
> 135, in run_main
>     import main
>   File
>
"/usr/local/lib/python2.4/site-packages/wxglade/main.py",
> line 9,
> in ?
>     from wxPython.wx import *
> ImportError: No module named wxPython.wx
> 
> wxPython is installed via the ports. Anyone have any
> ideas on how to
> correct this??
> 
> -- 
> Rod
> 
> "it takes an unusual mind to see the obvious."
> - Alfred Whitehead
> 



More information about the freebsd-questions mailing list