You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like something has gone haywire with your python versions. It's strange that the version that comes out is high enough to have asyncio, but when run it looks like its an earlier version.
As a short workaround, you could change your crontab entry to use Python3.7.
@timeighty5 - I had a similar issue after it had been working for a bit (I had done some tinkering in the meantime, so not sure what caused the issue). I used @jimbobbennett 's workaround to update the crontab entry and it works now even after restart.
The script doesn't autorun on reboot. In my root's crontab, I see:
But for some reason, it doesn't connect to Azure IoT.
python3 --version
sudo python3 app.py
sudo python3.7 app.py
Allows the Pi to connect to Azure IoT
Not sure what the issue is.
The text was updated successfully, but these errors were encountered: