You can add the path to your PYTHONPATH variable by adding this line to the end of your ~/.bashrc file
export PYTHONPATH=$PYTHONPATH:/path/to/baz-utils/lib/python
You'll need to update the "/path/to/baz-utils/lib/python" to where you have cloned baz-utils. Also note baz-utils directory structure has changed and the readme is outdated , it should say lib/python instead of src/python. ( The structure was changed with this commit: https://github.com/balint256/baz-utils/commit/66d1382383e48a09b9af65a86f43f2eb813f83a3 )
After you add the export line above to your ~/.bashrc file, you'll need to log out and log back in for it to take effect. You can check it with
echo $PYTHONPATH
- Nate
> On Apr 22, 2016, at 1:31 PM, Freedomfighter099 . <freedomfighter.missing.link@gmail.com> wrote:
>
> Hello
>
> Would someone please explain to me how to add the following to python path: Add src/python to PYTHONPATH
>
> I can't seem to get it to work! instructions would be greatly appreciated
>
> cheers
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment