Skip to content Skip to sidebar Skip to footer

Python External On Azure Importerror No Module Found

If i locally run my code with python main.py, then this error occurs locally. If i run it with python3 main.py, it works as expected. I suspect my azure app service is not running

Solution 1:

Per my experience, we have no permission to modify D:\home environment.

So , It's better to use python extension. Please follow the steps in this case: Azure Flask Routes Not found and use command python -m pip install newspaper to install additional packages in python extension.

Please make sure the package you want to install must match with version of python extension. Otherwise, it will throw error as follows.

enter image description here

Hope it helps you.

Post a Comment for "Python External On Azure Importerror No Module Found"