Tuesday, October 4, 2022

Re: Adding python functions to OOT module

Got it working.  It was related to the path.  I needed to use import gnuradio.myModule.  Initially I was using import myModule.

Thanks for the reply,
Jason

On Tuesday, October 4, 2022 at 09:45:29 AM EDT, Brandon Smith <blsmit5728@gmail.com> wrote:


Check your PYTHONPATH variable. You may have your OOT in something like /usr/lib/python3.x/site-packages/ and it's not in your default path.

- Brandon Smith


On Tue, Oct 4, 2022 at 9:34 AM jason duchez <jd20878@yahoo.com> wrote:
I'm trying to add python functions to a custom OOT module and am having issues importing the module into gnuradio-companion.  If I add the module name to an import block, I get an error saying the import failed.  I have followed the tutorial at:


Any help would be appreciated.


No comments:

Post a Comment