I am getting error with gunicorn as ModuleNotFoundError: No module named ‘fcntl’.
What to do ?
How to deploy web app on heruko using Windows?
Hey @Ajitverma1503
First of all, Gunicorn is built for a UNIX environment and is incompatible with windows.
Now, your options are:
- Writing working code on the first try, mentioning gunicorn in the requirements.txt file, and pushing the code without first trying out on your local machine.
- Getting the hold of a Linux environment (Dual Boot, VirtualBox etc.)
- Deploying without gunicorn (I don’t know myself how to do this, I’ll let you if I come across anything relevant)
Hope this helps!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.