discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] importing blocks to GRC


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] importing blocks to GRC
Date: Wed, 28 May 2014 21:36:46 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 05/28/2014 09:11 PM, Pengyu Zhang wrote:
When I do "echo $PYTHONPATH", nothing shows up. How is $PYTHONPATH set? I thought it should be configured automatically by cmake and make. Correct?


On Wed, May 28, 2014 at 4:56 PM, Alfredo Muniz <address@hidden> wrote:

On Wed, May 28, 2014 at 1:43 PM, Pengyu Zhang <address@hidden> wrote:
I still cannot see the block on GRC

I'm assuming you're using ubuntu then.

Check your python path
echo $PYTHONPATH

and ensure that you see the howto folder located there in the dist-packages

_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No, it's an environment variable.  A Linux shell thing. 

PYTHONPATH should be set to include the place where the installer installed the Python modules.

Setting users environment variables is unrelated to building software.

I usually set mine in my .bashrc:

PYTHONPATH=.:$HOME/bin:/usr/local/lib/python2.7/site-packages:/usr/local/lib/python2.7/dist-packages
PYTHONPATH=$PYTHONPATH:/usr/local/lib64/python2.7/site-packages:/usr/local/lib64/python2.7/dist-packages
export PYTHONPATH



-- 
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

reply via email to

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