discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] No module named wx


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] No module named wx
Date: Thu, 14 Apr 2005 21:52:33 -0700
User-agent: Mutt/1.5.6i

On Thu, Apr 14, 2005 at 10:58:05PM -0500, LRK wrote:
>
> Python is installed in system directories as:
> 
> /usr/local/bin/python
> /usr/local/lib/python2.4/site-packages
> 
> 
> > If you've got more than one site-packages directories, just list them
> > separated by colons in your PYTHONPATH.
>  
> The docs appear to say python searches via PYTHONPATH and then the path
> where python is installed so I don't need that one. Makes no difference
> if I put both in PYTHONPATH anyway.
> 
> 
> And to add to the mystery, numarray appears to be found in the same
> site-packages directory where Numeric and wx.pth are not found.


Let's try asking python what it thinks the path is.
Try this:

address@hidden gnuradio-examples]$ python
Python 2.3.4 (#2, Aug 19 2004, 15:49:40)
[GCC 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/usr/local/lib/python2.3/site-packages',
 '/usr/lib/python23.zip', '/usr/lib/python2.3',
 '/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk', 
 '/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages', 
 '/usr/lib/python2.3/site-packages/Numeric', 
'/usr/lib/python2.3/site-packages/PIL', 
 '/usr/lib/python2.3/site-packages/gtk-2.0', 
 '/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-ansi']
>>>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]