You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I feel like I have solved this issue before, but I'm not sure how to do it now. How do I resolve the circular import issue in lora_sdr/lora_sdr_lora_tx.py and lora_sdr/lora_sdr_lora_rx.py? The specific offending line is from . import lora_sdr_python as lora_sdr.
Full error message is below.
Thanks!
File "/home/ve3svf/OS42GroundSoftware/DEMOD.py", line 27, in <module>
import gnuradio.lora_sdr as lora_sdr
File "/usr/local/lib/python3.10/site-packages/gnuradio/lora_sdr/__init__.py", line 24, in <module>
from .lora_sdr_lora_tx import lora_sdr_lora_tx
File "/usr/local/lib/python3.10/site-packages/gnuradio/lora_sdr/lora_sdr_lora_tx.py", line 16, in <module>
from . import lora_sdr_python as lora_sdr
ImportError: cannot import name 'lora_sdr_python' from partially initialized module 'gnuradio.lora_sdr' (most likely due to a circular import) (/usr/local/lib/python3.10/site-packages/gnuradio/lora_sdr/__init__.py)
The text was updated successfully, but these errors were encountered:
Hello @radio-satellites,
I can't reproduce this error. Does it happen when you try to run a specific flowgraph?
If yes, could you share it here such that I can try on my side?
Hello!
I feel like I have solved this issue before, but I'm not sure how to do it now. How do I resolve the circular import issue in
lora_sdr/lora_sdr_lora_tx.py
andlora_sdr/lora_sdr_lora_rx.py
? The specific offending line isfrom . import lora_sdr_python as lora_sdr
.Full error message is below.
Thanks!
The text was updated successfully, but these errors were encountered: