rpp0 / gr-lora

GNU Radio blocks for receiving LoRa modulated radio messages using SDR
GNU General Public License v3.0
523 stars 113 forks source link

ModuleNotFoundError: No module named 'lora' #139

Open menna45 opened 3 years ago

menna45 commented 3 years ago

hello @rpp0 @riatankarsahu I have seen your problem ModuleNotFoundError: No module named 'lora' ,I am experiencing the same problem after uploading gr-lora in to GNURadio , 1)I did the librarypath and pythonpath 2) I added a folder in /.gnuradio having [grc] local_blocks_path=~/.Home/.gnuradio/.gr-lora/grc 3)I looked at the usr/local/lib/python3/dist-packages (but the folder lora doesn't exist there). also I am using GNURadio 3.8 and ubunto 20.04 I wish you could help me solve this error , i have searched alot and tried alot but in vain Screenshot from 2021-06-22 11-49-37 Screenshot from 2021-06-22 13-15-06

blsmit5728 commented 2 years ago

you need to compile the code and install it.

cd gr-lora && mkdir build && cd build && cmake ../ -DCMAKE_INSTALL_PREFIX=/usr && sudo make install && sudo ldconfig

Once done reload GRC and should be good to go.