discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUradio 3.8: ModuleNotFoundError: No module named 'myModulename'


From: Michael Dickens
Subject: Re: GNUradio 3.8: ModuleNotFoundError: No module named 'myModulename'
Date: Thu, 27 Feb 2020 20:55:54 -0600

Hi Laura - I'm guessing the location where your GR OOT was installed isn't in the PYTHONPATH, nor the default path for the Python being used. Check out this (recently updated) GR wiki page < https://wiki.gnuradio.org/index.php/ModuleNotFoundError > ... hopefully that info helps you along! - MLD

On Thu, Feb 27, 2020 at 5:24 PM Laura Arjona <address@hidden> wrote:
Hello community!

I just updated my complete OOT module (named bcsi)  from gnuradio 3.7 to 3.8, and I could make and install  without errors.
Using version 3.8, I created every block with gr_modtool (and then copied-pasted the .cc and .h code from 3.7 version to 3.8)

However, python will not find my module. I already did some basic debugging.

In the /build directory, I already run
$cmake ..
.........
-- Configuring done
-- Generating done
-- Build files have been written to: /home/Documents/gr-bcsi/build
$make
$sudo make install
$sudo ldconfig

I can see the modules appear in the grc GUI, but still cannot find my module.

$ python3
Python 3.6.9 (default, Nov  7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gnuradio
>>> import bcsi
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'bcsi'
>>>



Any advice would be welcomed!

Best


--
Laura Arjona 
Washington Research Foundation Innovation Postdoctoral Fellow in Neuroengineering

Paul G. Allen School of Computer Science & Engineering
185 E Stevens Way NE
University of Washington
Seattle, WA 98195-2350


--
Michael Dickens
Ettus Research Technical Support
Email: address@hidden
Web: https://ettus.com/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]