Hi
I am trying to follow the guide listed here for using the Xbee device
https://xbplib.readthedocs.io/en/latest/getting_started_with_xbee_python_library.html
I am, however, encountering an issue when I use the following in my script:
“from digi.xbee.devices import XBeeDevice”
In that I am getting the error
“cannot find reference ‘xbee in’ in init pyi”
Any idea as to how I should fix this?
Thank you.
mvut
2
I would suggest looking at digi.xbee.devices — Digi XBee Python library 1.4.1 documentation
The function of “From Digi.xbee.Devices” does not support the function you are calling of “import XBee.Device”
Hi
Thank you for the response
Regardless of which I import I still get the same error:
“cannot find reference ‘xbee in’ in init pyi”
I assume this has something to do with my IDE setup or paths?
Kind regards
mvut
4
Try using the PyCharm with the Digi XBee Plugin.