[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] No module named wx
From: |
LRK |
Subject: |
Re: [Discuss-gnuradio] No module named wx |
Date: |
Thu, 14 Apr 2005 22:58:05 -0500 |
User-agent: |
Mutt/1.4.2.1i |
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
address@hidden
- Re: [Discuss-gnuradio] No module named wx, Suvda Myagmar, 2005/04/14
- Re: [Discuss-gnuradio] No module named wx, LRK, 2005/04/14
- Re: [Discuss-gnuradio] No module named wx, Eric Blossom, 2005/04/14
- [Discuss-gnuradio] Re: FSK now (really) working at 100kbit/sec, Deqiang chen, 2005/04/15
- Re: [Discuss-gnuradio] Re: FSK now (really) working at 100kbit/sec, Matt Ettus, 2005/04/15
- [Discuss-gnuradio] Re: FSK now (really) working at 100kbit/sec, Eric Blossom, 2005/04/15
Re: [Discuss-gnuradio] No module named wx, Eric Blossom, 2005/04/14