Hi,

On 02/24/2014 05:46 PM, Ruecan wrote:
I have two installations of GR 3.65 and GR 3.7,
and I installed the project 'gr-ieee802-15-4' using
cmake -v -DCMAKE_INSTALL_PREFIX=~/gnuradio-3.7_install/
then make and make install anyways when trying to execute one of the python
scripts

I got the error:

Traceback (most recent call last):
   File "transceiver.py", line 27, in <module>
     import gnuradio.ieee802_15_4 as gr_ieee802_15_4
ImportError: No module named ieee802_15_4


Python can not find the module. Actually it should be installed out of the gnuradio directory and imported with

import ieee802_15_4

Either you use a very old version of the 15.4 stuff, or you have some old GRC bindings somewhere on your disk. You could try to set the directory where GRC searches for blocks explicitly with something like

[grc]
global_blocks_path = /usr/local/share/gnuradio/grc/blocks
local_blocks_path = /home/basti/usr/share/gnuradio/grc/blocks

Hope it helps,
Bastian




I have included in my ~/.bashrc the following:

export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GNURADIO_DIR/lib64:$UHD_DIR/lib64:$HOME/gr-ieee802-15-4_GR_3.7/build/swig/:$HOME/gnuradio-3.7_install/lib64/python2.7/site-packages/gnuradio/ieee802_15_4/:$HOME/gr-ieee802-15-4_GR_3.65/build/swig:$HOME/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/ieee802_15_4/

export
PYTHONPATH=$PYTHONPATH:$HOME/gnuradio-3.7_install/lib64/python2.7/site-packages:$HOME/gnuradio-3.7_install/lib64/python2.7/site-packages/ieee802_15_4/:$HOME/gnuradio-3.7_install/lib64/python2.6/site-packages:$HOME/gnuradio-3.7_install/lib64/:$HOME/gnuradio-3.7_install/lib64:$HOME/gnuradio-3.7_install/lib64/python2.7/site-packages/ieee802_15_4/:$HOME/gr-ieee802-15-4_GR_3.7/build/python:$HOME/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/ieee802_15_4/

Still got the error.

Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Issues-installing-gr-ieee802-15-4-tp46518.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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



--
Dipl.-Inform. Bastian Bloessl
Institute of Computer Science
University of Innsbruck, Austria
Phone: +43 512 507-53288 / Fax: -53079
http://ccs.uibk.ac.at/~bloessl/

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

Reply via email to