Install wsgi using code
git clone https://github.com/GrahamDumpleton/mod_wsgi
apt-get install apache2-dev
apt-get install python-dev
cd mod_wsgi/
./configure
make
make install
Install wsgi using pip
apt-get install libapache2-mod-wsgi-py3
instead of libapache2-mod-wsgi
for python3
Load wsgi module in Ubuntu
How do I use a conda environment with mod_wsgi?
How do I use a conda environment with mod_wsgi?
https://github.com/ahkarami/Deep-Learning-in-Production
https://pytorch.org/tutorials/intermediate/flask_rest_api_tutorial.html