On 10/20/2014 03:42 PM, Jeff Long wrote:
Fernando,
Set the PYTHONPATH environment variable to include the location of the
file you want to import, then re-run gnuradio-companion (or the
generated Python file). In bash:
export PYTHONPATH=$PYTHONPATH:/some/other/directory
Then you can put 'import psk' in an Import block.
- Jeff
Also, if you can say what tutorial you're reading, it would help. If
you're referring to the built-in psk.py, you would use something like:
from gnuradio.digital import psk
Maybe the tutorial is old and you're using a newer version of GNU Radio?
- Jeff
On 10/20/2014 01:36 PM, Fernando Rodríguez Brizuela wrote:
Hi,
I am a new user of GNURadio and I am interested in use the Import block,
to import the PSK.PY file, according to a tutorial that I am reading.
The problem is that file doesn' t exists in the file sytem of my
GNURADIO. When I try to paste it (after download the file from the page
of GNURadio), the block still not work because the Gnuradio doesn't
catch the file. (with others file on the same folder it works fine).
Could someone help me? What I have to do?
Thanks !
Regards,
*Fernando L. Rodríguez Brizuela -*
_______________________________________________
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