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 
<blsmit5...@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 <jd20...@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:
https://wiki.gnuradio.org/index.php/TutorialPythonFunctions 

Any help would be appreciated.


  

Reply via email to