On Thu, Apr 14, 2005 at 03:09:47PM -0700, Eric Blossom wrote: > On Thu, Apr 14, 2005 at 03:04:09PM -0500, LRK wrote: > > On Thu, Apr 14, 2005 at 12:01:11PM -0500, Suvda Myagmar wrote: > > > > Setting PYTHONPATH to /home/myagmar/gr/lib/python2.3/site-packages > > is supposed to fix that. Doesn't for me either. Still working on why. > > Did you export PYTHONPATH?
Yep. The shell I normally use is tcsh so it is set in both .cshrc and .profile and shows up as expected in the environment variables. > Where is Numeric installed? /usr/gnuradio/gr/lib/python2.4/site-packages/Numeric which are directories owned by user gr. 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. Script started on Thu Apr 14 22:01:33 2005 gr% python Python 2.4.1 (#2, Apr 12 2005, 10:46:06) [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5 Type "help", "copyright", "credits" or "license" for more information. >>> import Numeric Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named Numeric >>> import numarray >>> import wx Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named wx >>> gr% exit exit If I put /usr/gnuradio/gr/lib/python2.4/site-packages/Numeric in /usr/local/lib/python2.4/site-packages/Numeric.pth then Numeric is found with nothing else changed. Strange. -- LRK [EMAIL PROTECTED] _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio