AttributeError: 'module' object has no attribute 'channelizer'
danielkucera opened this issue · 1 comments
danielkucera commented
The default installation did not work so I added symlink:
ln -s /usr/local/lib/python2.7/site-packages/lora ~/.local/lib/python2.7/site-packages/lora
but still I get an error:
Traceback (most recent call last):
File "/home/danman/Projects/LoRa/top_block.py", line 151, in <module>
main()
File "/home/danman/Projects/LoRa/top_block.py", line 139, in main
tb = top_block_cls()
File "/home/danman/Projects/LoRa/top_block.py", line 110, in __init__
self.lora_lora_receiver_0 = lora.lora_receiver(samp_rate, 868e6, ([868.1e6]), 125000, 7, False, 4, True, False, False, 1, False, False)
File "/home/danman/.local/lib/python2.7/site-packages/lora/lora_receiver.py", line 52, in __init__
self.channelizer = lora.channelizer(samp_rate, center_freq, channel_list, bandwidth, decimation)
AttributeError: 'module' object has no attribute 'channelizer'
rpp0 commented
Please see https://github.com/rpp0/gr-lora/wiki/Common-compile-and-runtime-errors for possible fixes. Alternatively, you can use the Docker image.