I was forced to update my sdk version from 1.15.2 to 2.3.0. I am using python 3.7.12. When I try to use this updated sdk, I get the following error:
ModuleNotFoundError: No module named 'importlib.metadata'
This error occurs on line 4 in the sdk.py file. Python 3.7 does not have importlib.metadata as part of its bundled library. You can see that this package is labeled "new" in the following link for python3.8 (https://docs.python.org/3/library/importlib.metadata.html).
For the sdk to stay compatible with python3.7, I think line 4 should be changed to the following
try:
from importlib.metadata import version
except ImportError: # for Python<3.8
from importlib_metadata import version
I was forced to update my sdk version from 1.15.2 to 2.3.0. I am using python 3.7.12. When I try to use this updated sdk, I get the following error:
ModuleNotFoundError: No module named 'importlib.metadata'
This error occurs on line 4 in the sdk.py file. Python 3.7 does not have importlib.metadata as part of its bundled library. You can see that this package is labeled "new" in the following link for python3.8 (https://docs.python.org/3/library/importlib.metadata.html).
For the sdk to stay compatible with python3.7, I think line 4 should be changed to the following
try: from importlib.metadata import version except ImportError: # for Python<3.8 from importlib_metadata import version