Getting error while deploying django application

While running gunicorn HelloWorld.wsgi command, I am getting the following error

Traceback (most recent call last):
File “C:\Python39\lib\runpy.py”, line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File “C:\Python39\lib\runpy.py”, line 87, in run_code
exec(code, run_globals)
File "C:\Users\vinay\Documents\Python\Django Deployment\HelloWorld\env\Scripts\gunicorn.exe_main
.py", line 4, in
File “c:\users\vinay\documents\python\django deployment\helloworld\env\lib\site-packages\gunicorn\app\wsgiapp.py”, line 9, in
from gunicorn.app.base import Application
File “c:\users\vinay\documents\python\django deployment\helloworld\env\lib\site-packages\gunicorn\app\base.py”, line 11, in
from gunicorn import util
File “c:\users\vinay\documents\python\django deployment\helloworld\env\lib\site-packages\gunicorn\util.py”, line 9, in
import fcntl
ModuleNotFoundError: No module named ‘fcntl’

Hello @vinay86048, this “fcntl” package is not available for windows. You can check for its alternatives or you can refer some of the posts related to the issue



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.