discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] PYTHONPATH issue regarding missing Numeric module dur


From: Mark S Petrovic
Subject: [Discuss-gnuradio] PYTHONPATH issue regarding missing Numeric module during CVS builds
Date: Wed, 22 Jun 2005 20:12:27 -0700
User-agent: Mutt/1.5.6i

There was earlier some discussion surrounding why Numeric cannot be
found during the build tests

http://lists.gnu.org/archive/html/discuss-gnuradio/2005-04/msg00135.html

The problem is manifested by a console message to the effect

ImportError: No module named Numeric

I encountered the same problem, and fixed by changing

PYTHONPATH="$swigbld:$swigbld/.libs:$swigsrc:$py"

to

PYTHONPATH="$PYTHONPATH:$swigbld:$swigbld/.libs:$swigsrc:$py"

in the file

gr-build/gnuradio-core/src/python/gnuradio/gr/run_tests.in

Prior to the "for-all-dirs" build process, PYTHONPATH must contain an
element that points to the Numeric module.  For example

PYTHONPATH=/home/petrovic/gr/lib/python2.3/site-packages:/home/petrovic/gr/lib/python2.3/site-packages/Numeric:/usr/lib/python2.3/site-packages
export PYTHONPATH

per KL7LMO's Numeric installation instructions

http://www.kd7lmo.net/ground_gnuradio_ota.html

Mark




reply via email to

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