wxPython libraries never detected

Chris Mellon arkanes at gmail.com
Mon Feb 12 09:24:55 EST 2007


On 10 Feb 2007 07:55:05 -0800, d.lidell at gmail.com <d.lidell at gmail.com> wrote:
> Hi, I recently started coding with Python and I've been trying for the
> past hour or so to determine why, every time I "import wx" (or compile
> another piece of code that imports wx), Python can never find the
> libraries.
>
> I'm running Ubuntu Edgy 6.10, and, as per http://www.wxpython.org/download.php#sources,
> updated sources.list with the sources and installed python-wxgtk2.8,
> python-wxtools and wx2.8-i18n. I compiled the latest Python (as of
> writing), 2.5, from source.
>
> For example, SPE tells me that I "need to install at least wxPython v.
> 2.5.4.1 to run SPE" and any code that relies on "import wx" reports
> "ImportError: No module named wx". However, "whereis wx" on the
> command line reports "wx: /usr/lib/wx /usr/local/lib/wx /usr/include/
> wx". What could be wrong here? I can't figure out why wx isn't being
> detected.
>
> Many thanks.
>
> --

wxPython binaries for 2.4 won't run with 2.5.



More information about the Python-list mailing list