How to install python plugins using pip on azure websites?

I tried to deploy my web service in microsoft azure.

First I added my site from the gallery.

Websites β†’ New β†’ From Gallery β†’ Flask

And then Azure created a simple website.

Later, I deployed my source to the azure website and searched for the web.config file.

Then I received an error message as shown below.

Does anyone know how to install python plugins with pip on azure websites?

Hello,


Error while importing WSGI_HANDLER:

Traceback (most recent call last):
  File "D:\Python27\Scripts\wfastcgi.py", line 469, in get_wsgi_handler
    handler = getattr(__import__(module, fromlist=[callable]), callable)
  File "D:\home\site\wwwroot\wsgi.py", line 17, in <module>
   from application import frontend, api_v1
  File "D:\home\site\wwwroot\application\frontend\__init__.py", line 14, in <module>
    from flask_debugtoolbar import DebugToolbarExtension
ImportError: No module named flask_debugtoolbar


StdOut: 

StdErr: 
+4
source share

Source: https://habr.com/ru/post/1523485/


All Articles