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 <[email protected] <mailto:[email protected]>> wrote:


    On Wed, May 28, 2014 at 1:43 PM, Pengyu Zhang <[email protected]
    <mailto:[email protected]>> 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
[email protected]
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

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to