[SOLVED] Unable to import from 'network'
-
Hi, I'm an ultra begginer (just started yesturday), I have a LoPy on a Pysense. I wanted to test the LoRaMAC but the imports of LoRa from network don't work
.
I don't know If my project is well set or else, If I can take any advice to make it work I would thank you.
Sorry if I didn't explained my problem well, I'm french, but I hope you understood -
networkis a library built into our firmware, the error you are seeing is from visual studio code, it cannot find a network python module, so it complains. If you upload your code to the module will be successfully imported. -
This post is deleted! -
@seb Alrig thank you it worked indeed ! I have another question, when I try to setup LoRa region
it says that LoRa has no attribute EU868. How can I fix that ? -
@cbaudrit Are you sure that you are using the most recent firmware?
-
@robert-hh Hello, I updated the firmware and it seems to work, thank you ! Can't belive I didn't do this step ...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better ๐
Register Login