<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:d.lidell@gmail.com">d.lidell@gmail.com</a> wrote:
<blockquote
 cite="mid1171122904.981749.322260@h3g2000cwc.googlegroups.com"
 type="cite">
  <pre wrap="">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 <a class="moz-txt-link-freetext" href="http://www.wxpython.org/download.php#sources">http://www.wxpython.org/download.php#sources</a>,
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.

  </pre>
</blockquote>
<font size="-1"><font face="Verdana">Doing a `whereis wx` won't tell
you about the python library installation.  I'm using Ubuntu Edgy, with
Python 2.4 installed (from apt), and wx-2.6.  I can find the libraries
in /usr/lib/python2.4/wx-2.6-gtk-unicode/  Check to see if you have wx
installed in /usr/lib/python2.5</font></font><br>
</body>
</html>