I
I
Ivan Demianov2020-11-09 18:36:14
Django
Ivan Demianov, 2020-11-09 18:36:14

GUNICORN not working?

I'm making a Django app and I want to upload it to Heroku, in terminal I type gunicorn MK_ONLINE_FROM_VSS.wsgi Error: Traceback (most recent call last):
File "c:\users\user\appdata\local\programs\python\python38\lib \runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\user\appdata\local\programs\python\python38\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\Scripts\gunicorn.exe\__main__.py", line 5, in
File "c:\users\user\ appdata\local\programs\python\python38\lib\site-packages\gunicorn\app\wsgiapp.py", line 9, in
from gunicorn.app.base import Application
File "c:\users\user\appdata\local\programs\python\python38\lib\site-packages\gunicorn\app\base.py", line 11, in
from gunicorn import util
File "c:\users\user \appdata\local\programs\python\python38\lib\site-packages\gunicorn\util.py", line 9, in
import fcntl
ModuleNotFoundError: No module named 'fcntl'
Why? Used to use Python 3.9 and now 3.8.
I've done this before! (On a different computer!)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mark Chigrin, 2020-11-09
@Black_and_green

Try googling the problem yourself first. Everything is in the first link.
Tyts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question