Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2006 21:03:40 -0400 (EDT)
From:      Michael S <msherman77@yahoo.com>
To:        rodperson@adelphia.net, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: wxGlade error
Message-ID:  <20061010010340.27252.qmail@web88306.mail.re4.yahoo.com>
In-Reply-To: <1160437365.930.3.camel@atomizer.opensourcebeef.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061010010340.27252.qmail>