Forum Discussion
Unable to run python echo bot using azure app services
I'm trying to host a sample python bot using Azure app services.
https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/python/02.echo-bot
Im getting below error while app startup.
2020-07-03T10:50:27.628634000Z ModuleNotFoundError: No module named 'aiohttp'
2020-07-03T10:50:27.636552057Z [2020-07-03 10:50:27 +0000] [39] [INFO] Worker exiting (pid: 39)
2020-07-03T10:50:27.708003675Z [2020-07-03 10:50:27 +0000] [37] [INFO] Shutting down: Master
2020-07-03T10:50:27.708706180Z [2020-07-03 10:50:27 +0000] [37] [INFO] Reason: Worker failed to boot.
I have aiohttp installed on the container.
/home/site/wwwroot>pip install aiohttp
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: aiohttp in /home/.local/lib/python3.8/site-packages (3.6.2)
Requirement already satisfied: attrs>=17.3.0 in /home/.local/lib/python3.8/site-packages (from aiohttp) (19.3.0)
Requirement already satisfied: multidict<5.0,>=4.5 in /home/.local/lib/python3.8/site-packages (from aiohttp) (4.7.6)
Requirement already satisfied: chardet<4.0,>=2.0 in /home/.local/lib/python3.8/site-packages (from aiohttp) (3.0.4)
Requirement already satisfied: yarl<2.0,>=1.0 in /home/.local/lib/python3.8/site-packages (from aiohttp) (1.4.2)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /home/.local/lib/python3.8/site-packages (from aiohttp) (3.0.1)
Requirement already satisfied: idna>=2.0 in /home/.local/lib/python3.8/site-packages (from yarl<2.0,>=1.0->aiohttp) (2.8)
Cleaning up.
Any help on this would be really appreciated!