[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] PYTHONPATH issue regarding missing Numeric module
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] PYTHONPATH issue regarding missing Numeric module during CVS builds |
Date: |
Thu, 23 Jun 2005 20:13:48 -0700 |
User-agent: |
Mutt/1.5.6i |
On Wed, Jun 22, 2005 at 08:12:27PM -0700, Mark S Petrovic wrote:
> 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
Hi Mark,
Thanks for all the info on the Gentoo build.
Regarding the PYTHONPATH modification in run_tests.in, you'll want to
add the existing value of PYTHONPATH to the TAIL of the path, not the
head, otherwise you'll be testing an existing GNU Radio installation,
not the new stuff in the build tree.
Use:
PYTHONPATH="$swigbld:$swigbld/.libs:$swigsrc:$py:$PYTHONPATH"
Not:
PYTHONPATH="$PYTHONPATH:$swigbld:$swigbld/.libs:$swigsrc:$py"
Eric