arduino / iot-client-py

Python client for Arduino IoT API
https://www.arduino.cc/reference/en/iot/api/
Other
23 stars 12 forks source link

Missing required modules? typing_extensions, frozendict #70

Open jperrin-dojofive opened 9 months ago

jperrin-dojofive commented 9 months ago

When installing arduino-iot-client and trying to run the example script that gets an oauth token I ran into the issue where the import iot_api_client failed due to not finding the typing_extensions module. I manually installed that module but was then missing frozendict module. After installing that manually I was able to get the example to run.

Was I doing something wrong potentially or do these need to be added to setup.py as required modules?

I was using a new python 3.9.18 virtual environment.

jperrin-dojofive commented 9 months ago

Ah, so there is a requirements_test.txt. I was following the instructions here https://pypi.org/project/arduino-iot-client/ and didn't originally look in the example dir to see more required packages.

Maybe a documentation update to point people at that file explicitly and not just make mention of a working example?