-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Labels
Description
Using digi-xbee with Python 3.9 (release October 5th, 2020) gives the following error. digi-xbee works fine with Python 3.8
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "C:\...\venv\lib\site-packages\digi\xbee\devices.py", line 22, in <module>
from digi.xbee import serial
File "C:\...\venv\lib\site-packages\digi\xbee\serial.py", line 21, in <module>
from digi.xbee.models.mode import OperatingMode
File "C:\...\venv\lib\site-packages\digi\xbee\models\mode.py", line 230
return sum(op.code for op in options if lambda option: (option != cls.EXPLICIT))
^
SyntaxError: invalid syntax
python-BaseException