Issues installing gr-ieee802.15.4

Hii Gnu Radio,

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
import gnuradio.ieee802_15_4 as gr_ieee802_15_4
ImportError: No module named ieee802_15_4

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.

Hi,

On 02/24/2014 05:46 PM, Ruecan wrote:

 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

Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


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

Thanks Bastian,

In another machine I tried to install it with GR 3.7,
but in the cmake I got this error:

CMake Error at
~/gnuradio-3.7_install/lib64/cmake/gnuradio/GnuradioConfig.cmake:29
(list):
list sub-command INSERT requires at least three arguments.
Call Stack (most recent call first):
CMakeLists.txt:88 (find_package)

– Configuring incomplete, errors occurred!

Any hints please.


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

Does it work on the first machine now?

On 2014-02-24 21:17, Ruecan wrote:

– Configuring incomplete, errors occurred!

Sorry, but for this problem I have absolutely no clue. Can you install
any other OOT module? I don’t think this is related to the 15.4 stuff.