Re: Error No module named 'TheNameOfMyModule' in GRC
You need to re-compile and “make install” another time the modified module. Ivan > Il giorno 19 gen 2022, alle ore 11:17, Michelle ha > scritto: > > > Hello Ivan, > ahhh okay I will do it! thank you for the advice. > I have another question, I would like to make a slight modification in the > work function of my block. > But as I have already installed the block in GRC I was wondering if it's > enough to modify the file that contains the work function. > > On 2022-01-19 5:01 a.m., Ivan Iudice wrote: >> This is not a final solution… >> You need to add your library path in /etc/ld.so.conf.d/ in order to see your >> library everywhere. >> Have a nice day. >> >> Ivan >> >>> Il giorno 19 gen 2022, alle ore 10:52, Michelle >>> ha scritto: >>> >>> Good morning Vasil, >>> >>> I followed your indications and it works. >>> >>> Thank you :) >>> >>> On 2022-01-18 9:18 a.m., Vasil Velichkov wrote: Hi Michelle, On 18/01/2022 14.01, Michelle wrote: > hello, > > I created an OOT module, added a block and made the block available in > GRC. Then I installed the module and called ldconfig (as I'm in ubuntu). > My block appears in GRC but when I insert the block in a graph and > execute that graph I get an error *No module named 'TheNameOfMyModule'. * > > Please can you enlighten me on how to fix this issue? I followed the > instructions of the wiki > https://wiki.gnuradio.org/index.php/OutOfTreeModules Most probably you need to add /usr/local/lib/python3/dist-packages to PYTHONPATH environment variable as this directory is not in the default python search paths (sys.path) Open a new terminal and execute the following export PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH gnuradio-companion to make this change permanent you can add the export line to ~/.profile file and then logout/login or reboot. See also https://wiki.gnuradio.org/index.php/ModuleNotFoundError Regards, Vasil >>>
Re: Error No module named 'TheNameOfMyModule' in GRC
Hello Ivan, ahhh okay I will do it! thank you for the advice. I have another question, I would like to make a slight modification in the work function of my block. But as I have already installed the block in GRC I was wondering if it's enough to modify the file that contains the work function. On 2022-01-19 5:01 a.m., Ivan Iudice wrote: This is not a final solution… You need to add your library path in /etc/ld.so.conf.d/ in order to see your library everywhere. Have a nice day. Ivan Il giorno 19 gen 2022, alle ore 10:52, Michelle ha scritto: Good morning Vasil, I followed your indications and it works. Thank you :) On 2022-01-18 9:18 a.m., Vasil Velichkov wrote: Hi Michelle, On 18/01/2022 14.01, Michelle wrote: hello, I created an OOT module, added a block and made the block available in GRC. Then I installed the module and called ldconfig (as I'm in ubuntu). My block appears in GRC but when I insert the block in a graph and execute that graph I get an error *No module named 'TheNameOfMyModule'. * Please can you enlighten me on how to fix this issue? I followed the instructions of the wiki https://wiki.gnuradio.org/index.php/OutOfTreeModules Most probably you need to add /usr/local/lib/python3/dist-packages to PYTHONPATH environment variable as this directory is not in the default python search paths (sys.path) Open a new terminal and execute the following export PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH gnuradio-companion to make this change permanent you can add the export line to ~/.profile file and then logout/login or reboot. See also https://wiki.gnuradio.org/index.php/ModuleNotFoundError Regards, Vasil
Re: Error No module named 'TheNameOfMyModule' in GRC
This is not a final solution… You need to add your library path in /etc/ld.so.conf.d/ in order to see your library everywhere. Have a nice day. Ivan > Il giorno 19 gen 2022, alle ore 10:52, Michelle ha > scritto: > > Good morning Vasil, > > I followed your indications and it works. > > Thank you :) > >> On 2022-01-18 9:18 a.m., Vasil Velichkov wrote: >> Hi Michelle, >> >>> On 18/01/2022 14.01, Michelle wrote: >>> hello, >>> >>> I created an OOT module, added a block and made the block available in GRC. >>> Then I installed the module and called ldconfig (as I'm in ubuntu). >>> My block appears in GRC but when I insert the block in a graph and execute >>> that graph I get an error *No module named 'TheNameOfMyModule'. * >>> >>> Please can you enlighten me on how to fix this issue? I followed the >>> instructions of the wiki >>> https://wiki.gnuradio.org/index.php/OutOfTreeModules >> Most probably you need to add /usr/local/lib/python3/dist-packages to >> PYTHONPATH environment variable as this directory is not in the default >> python search paths (sys.path) >> >> Open a new terminal and execute the following >> >> export PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH >> gnuradio-companion >> >> to make this change permanent you can add the export line to ~/.profile file >> and then logout/login or reboot. See also >> https://wiki.gnuradio.org/index.php/ModuleNotFoundError >> >> Regards, >> Vasil >> >
Re: Error No module named 'TheNameOfMyModule' in GRC
Good morning Vasil, I followed your indications and it works. Thank you :) On 2022-01-18 9:18 a.m., Vasil Velichkov wrote: Hi Michelle, On 18/01/2022 14.01, Michelle wrote: hello, I created an OOT module, added a block and made the block available in GRC. Then I installed the module and called ldconfig (as I'm in ubuntu). My block appears in GRC but when I insert the block in a graph and execute that graph I get an error *No module named 'TheNameOfMyModule'. * Please can you enlighten me on how to fix this issue? I followed the instructions of the wiki https://wiki.gnuradio.org/index.php/OutOfTreeModules Most probably you need to add /usr/local/lib/python3/dist-packages to PYTHONPATH environment variable as this directory is not in the default python search paths (sys.path) Open a new terminal and execute the following export PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH gnuradio-companion to make this change permanent you can add the export line to ~/.profile file and then logout/login or reboot. See also https://wiki.gnuradio.org/index.php/ModuleNotFoundError Regards, Vasil
Re: Error No module named 'TheNameOfMyModule' in GRC
Hi Michelle, On 18/01/2022 14.01, Michelle wrote: > hello, > > I created an OOT module, added a block and made the block available in GRC. > Then I installed the module and called ldconfig (as I'm in ubuntu). > My block appears in GRC but when I insert the block in a graph and execute > that graph I get an error *No module named 'TheNameOfMyModule'. * > > Please can you enlighten me on how to fix this issue? I followed the > instructions of the wiki https://wiki.gnuradio.org/index.php/OutOfTreeModules Most probably you need to add /usr/local/lib/python3/dist-packages to PYTHONPATH environment variable as this directory is not in the default python search paths (sys.path) Open a new terminal and execute the following export PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH gnuradio-companion to make this change permanent you can add the export line to ~/.profile file and then logout/login or reboot. See also https://wiki.gnuradio.org/index.php/ModuleNotFoundError Regards, Vasil
Re: Error No module named 'TheNameOfMyModule' in GRC
I'm sorry, I've not been reading you first email (you're on Ubuntu). Probably you have to set your library path. Please, show me the output of "sudo ldconfig -v". Ivan Il 18.01.2022 13:01 Michelle ha scritto: > hello, > > I created an OOT module, added a block and made the block available in GRC. Then I installed the module and called ldconfig (as I'm in ubuntu). > My block appears in GRC but when I insert the block in a graph and execute that graph I get an error NO MODULE NAMED 'THENAMEOFMYMODULE'. > > Please can you enlighten me on how to fix this issue? I followed the instructions of the wiki https://wiki.gnuradio.org/index.php/OutOfTreeModules [1] > > Thank you. Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99€ al mese http://tisca.li/Smart70
Re: Error No module named 'TheNameOfMyModule' in GRC
What’s your distribution? Ivan > Il giorno 18 gen 2022, alle ore 13:28, Michelle ha > scritto: > > > Hi Ivan, > > thank you for your answer, I had already done it but the error still appears. > > On 2022-01-18 7:22 a.m., Ivan Iudice wrote: >> Try to run ldconfig after male install your OOT module. >> >> Ivan >> >>> Il giorno 18 gen 2022, alle ore 13:16, Michelle >>> ha scritto: >>> >>> >>> hello, >>> >>> I created an OOT module, added a block and made the block available in GRC. >>> Then I installed the module and called ldconfig (as I'm in ubuntu). >>> My block appears in GRC but when I insert the block in a graph and execute >>> that graph I get an error No module named 'TheNameOfMyModule'. >>> >>> Please can you enlighten me on how to fix this issue? I followed the >>> instructions of the wiki >>> https://wiki.gnuradio.org/index.php/OutOfTreeModules >>> >>> Thank you.
Re: Error No module named 'TheNameOfMyModule' in GRC
Hi Ivan, thank you for your answer, I had already done it but the error still appears. On 2022-01-18 7:22 a.m., Ivan Iudice wrote: Try to run ldconfig after male install your OOT module. Ivan Il giorno 18 gen 2022, alle ore 13:16, Michelle ha scritto: hello, I created an OOT module, added a block and made the block available in GRC. Then I installed the module and called ldconfig (as I'm in ubuntu). My block appears in GRC but when I insert the block in a graph and execute that graph I get an error *No module named 'TheNameOfMyModule'. * Please can you enlighten me on how to fix this issue? I followed the instructions of the wiki https://wiki.gnuradio.org/index.php/OutOfTreeModules Thank you.
Re: Error No module named 'TheNameOfMyModule' in GRC
Try to run ldconfig after male install your OOT module. Ivan > Il giorno 18 gen 2022, alle ore 13:16, Michelle ha > scritto: > > > hello, > > I created an OOT module, added a block and made the block available in GRC. > Then I installed the module and called ldconfig (as I'm in ubuntu). > My block appears in GRC but when I insert the block in a graph and execute > that graph I get an error No module named 'TheNameOfMyModule'. > > Please can you enlighten me on how to fix this issue? I followed the > instructions of the wiki https://wiki.gnuradio.org/index.php/OutOfTreeModules > > Thank you.