Saturday, May 23, 2020

Re: No Module find

Hello Enzo:

I am not sure why that is the case (sorry). Could you try adding that export command to end of the "~/.profile" file and re-booting the system?

Regards,
Kyeong Su Shin

보낸 사람: Vincenzo Mone <vimone@alice.it>
보낸 날짜: 2020년 5월 23일 토요일 오후 9:44
받는 사람: Kyeong Su Shin <ksshin@postech.ac.kr>
제목: R: No Module find
 

Hello Kyeong,

thanks for Your reply,

Done but it did not work.

This is what I have cone:

 

Opened the Terminal and typed:

 

export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3/dist-packages/

 

and gave a return. It did not happened nothing but got back the prompt.

Opened the gnuradio by typing gnuradio-companion always from the terminal window.

Tried to ruin the flowgraph but got the same error.

Did I do something wrong?

Thanks

Enzo

 

 

 

73 de Enzo IK8OZV
EasyLog 5 BetaTester
EasyLog PDA BetaTester
WinBollet BetaTester
D.C.I. CheckPoint Regione Campania
Skype: ik8ozv8520





      *********************************

      ******   GSM  +39 328 7110193  ******

      *****     SMS  +39 328 7110193    *****

      *********************************

 

Da: Kyeong Su Shin <ksshin@postech.ac.kr>
Inviato: sabato 23 maggio 2020 13:34
A: Vincenzo Mone <vimone@alice.it>; Gnuradio Mailing List <discuss-gnuradio@gnu.org>
Oggetto: Re: No Module find

 

Hello Vincenzo:

 

That export command only applies to the terminal session that the command ran at (does not apply system-wise). 

 

Could you try (if you haven't already):

1. Open a terminal

2. Run export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3/dist-packages/

3. Open gnuradio-companion by typing it on the terminal that you ran the export command

4. Run the script

 

Also, you should consider adding  export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3/dist-packages/ to the last line of your ~/.profile or ~/.bashrc file (see: https://wiki.gnuradio.org/index.php/ModuleNotFoundError ).

 

Regards,

Kyeong Su Shin


보낸 사람: Vincenzo Mone <vimone@alice.it> 대신 Discuss-gnuradio <discuss-gnuradio-bounces+ksshin=postech.ac.kr@gnu.org>
보낸 날짜: 2020 5 23 토요일 오후 8:03
받는 사람: Gnuradio Mailing List <discuss-gnuradio@gnu.org>
제목: No Module find

 

Please any help,

when I run a grc flowgraph file, how you can see I get the error:

 

ModuleNotFoundError: Nomodule named 'gpredict'

 

On others grc files I get

 

ModuleNotFoundError: Nomodule named 'satellites'

 

If I go in :

 

/usr/local/lib/python3/dist-packages/

 

I can see the two folders named gpredict and satellites.

In the readme file of the author I can read:

 

If Python is not able to locate the gr-satellites module, it will produce an error like this:

ModuleNotFoundError: No module named 'satellites'

Often, gr-satellites is installed into /usr/local/lib/python3/dist-packages/ or a similar directory, in a subdirectory called satellites. Therefore,

$ export PYTHONPATH=/usr/local/lib/python3/dist-packages/

 

I have tried to hive the command:

 

export PYTHONPATH=/usr/local/lib/python3/dist-packages/

 

how it  says, still get the errors.

Please any help?

Thanks

 

 

 

73 de Enzo IK8OZV
EasyLog 5 BetaTester
EasyLog PDA BetaTester
WinBollet BetaTester
D.C.I. CheckPoint Regione Campania
Skype: ik8ozv8520





      *********************************

      ******   GSM  +39 328 7110193  ******

      *****     SMS  +39 328 7110193    *****

      *********************************

 

No comments:

Post a Comment