Open kritishmohapatra opened 2 weeks ago
I used thony and my micropython's version is v1.22.2 and in the repl there is no module uasyncio
when a run the example file of sinric pro it says
File "main.py", line 1, in
ERROR: Could not install packages due to an OSError: HTTPConnectionPool(host='127.0.0.1', port=36628): Max retries exceeded with url: /micropython-uasyncio/micropython-uasyncio-3.0.tar.gz/ (Caused by ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))
Error Command '['C:\Users\user\AppData\Local\pipkin\cache\workspaces\8d92674775969d31dbced6a4fbc13868\Scripts\python.exe', '-I', '-m', 'pip', '--no-color', '--disable-pip-version-check', '--trusted-host', '127.0.0.1', 'install', '--no-compile', '--use-pep517', '--upgrade-strategy', 'only-if-needed', 'micropython-uasyncio', '--index-url', 'http://127.0.0.1:36628']' returned non-zero exit status 1.
Looks like a Thonny issue. There’s a similar issue reported here.
hello uasyncio is part of micropython https://docs.micropython.org/en/v1.14/library/uasyncio.html
you can check whether it's there in REPL:
help('modules')