> Do your mean PYTHONPATH or just system search path?
> I have set my block path as the PYTHONPATH in ~/.profile, but it still
> cannot work. Is there a way to check whether the path is set appropriately?


You are in linux I presume? "echo $PYTHONPATH" (without quotes) should
tell you what your python path is set to. "export" will show all
environment variables.

You can also use export to set a variable for example export
PYTHONPATH=/home/user/project/howto/.

Another thing you can do in python is:
import sys
sys.path.append('/path/to/module'). Add that before you import the module.

Mike

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to