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 <arjonal@uw.edu> 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 ldconfigI 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 ArjonaWashington Research Foundation Innovation Postdoctoral Fellow in NeuroengineeringPaul G. Allen School of Computer Science & Engineering185 E Stevens Way NEUniversity of WashingtonSeattle, WA 98195-2350
No comments:
Post a Comment