Comment 2 for bug 2008637

Revision history for this message
Wowbagger (ha87psc02) wrote :

More information:
Editing /usr/lib/python3/dist-packages/limesdr/__init__.py and adding the following line
try:
    # this might fail if the module is python-only
+++ from gnuradio_base import *
    from .limesdr_python import *

Allows the code to get a bit further along - instead of the error above it gets this error:

  File "~/.grc_gnuradio/Receiver.py", line 241, in __init__
    self.limesdr_source_1 = limesdr.source('', 0, '')
AttributeError: module 'limesdr' has no attribute 'source'

This is in the code generated by Gnu Radio Companion for a flow diagram with the LimeSDR source in it.