Nuand / gr-bladeRF

GNU Radio block for bladeRF devices
GNU General Public License v3.0
28 stars 9 forks source link

ModuleNotFoundError: No module named 'bladeRF' #2

Closed arBalasquide closed 3 years ago

arBalasquide commented 3 years ago

Successfully have GNU Radio 3.9 installed and followed the instructions in this repo to compile the gr blocks for bladerf.

However, I get this error that I cannot import bladeRF when I hit F6 on gnuradio-companion to generate and run the flow graph.

$ gnuradio-companion fm_receiver.grc 
<<< Welcome to GNU Radio Companion 3.9.2.0 >>>

Block paths:
    /usr/share/gnuradio/grc/blocks
    /usr/local/share/gnuradio/grc/blocks

Loading: "/home/adrian/gr-bladeRF/apps/fm_receiver.grc"
>>> Done

Generating: '/home/adrian/gr-bladeRF/apps/fm_receiver.py'

Executing: /usr/bin/python3 -u /home/adrian/gr-bladeRF/apps/fm_receiver.py

Traceback (most recent call last):
  File "/home/adrian/gr-bladeRF/apps/fm_receiver.py", line 41, in <module>
    import bladeRF
ModuleNotFoundError: No module named 'bladeRF'

>>> Done (return code 1)

System info: Ubuntu 20.04 kernel 5.11.0-34-generic bladerf: 0.2019.07-4build1 amd64 gr-osmosdr: 0.2.0-2 amd64 libbladerf-dev: 0.2019.07-4build1 amd64

These packages were installed through the Ubuntu package manager.

Any guidance would be appreciated.

arBalasquide commented 3 years ago

Issue was my Python path pointing to the wrong folder.