-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: cannot import name 'LoRaSpi' from 'LoRaRF' #19
Comments
You must be following the current examples; but those were refactored (commit 67cb5c9) after the v1.4.0 release (commit 86572c3), so they reference a new API that doesn't exist in the published version. You have two options:
|
Yes, I have enabled it. Let me give you the context, I am using raspberrypi Zero w with Lora module SX1262. And I am trying to run transmitter,py file here. |
Same! And mine is working. After looking closer at the error message, I see a reference to |
Can you recommend what OS you are using? I am using raspberrypi OS(Legacy) with desktop 32 bit |
I'm using DietPi, 64-bit (bookworm). But its Apt uses the Debian repos, so it'd be the same as Raspbian (or legacy Raspberry Pi OS). But I don't think this is an OS issue. I just noticed that LoRaRF is using Line 2 in 67cb5c9
... so I was half-way wrong earlier. So what happens if you run this? python3 -c "import gpiod; print( gpiod.__file__ )" For me, it returns I would expect yours to return |
Thanks @MaffooClock I resolved the issue by following above steps, and succesfully transmitting and receiving data. Now i want to send the list of floats but it is showing the error Type error. Can you help about it? |
I was installing the network node from network folder , but it throws this error when pressed run. Can anyone resolve it?
The text was updated successfully, but these errors were encountered: