discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Adding python functions to OOT module


From: jason duchez
Subject: Re: Adding python functions to OOT module
Date: Tue, 4 Oct 2022 14:06:52 +0000 (UTC)

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.



reply via email to

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