You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following error on Win7 when I try to run the gunicorn server inside virtualenv:
$ (myappvenv) C:\www\python\myapp> gunicorn -b 0.0.0.0:8080 wsgi
Traceback (most recent call last):
File "C:\Python34\Lib\runpy.py", line 170, in _runmoduleasmain
"main", modspec)
File "C:\Python34\Lib\runpy.py", line 85, in _runcode
exec(code, runglobals)
File "C:\www\python\myapp\myappvenv\Scripts\gunicorn.exe_main.py", line 5, in <module>
File "C:\www\python\myapp\myappvenv\lib\site-packages\gunicorn\app\wsgiapp.py", line 10, in <module>
from gunicorn.app.base import Application
File "C:\www\python\myapp\myappvenv\lib\site-packages\gunicorn\app\base.py", line 12, in <module>
from gunicorn import util
File "C:\www\python\myapp\myappvenv\lib\site-packages\gunicorn\util.py", line 9, in <module>
import fcntl
ImportError: No module named 'fcntl'
I got the following error on Win7 when I try to run the gunicorn server inside virtualenv:
My wsgi.py file looks like this:
Using the wsgi file from the Gunicorn readthedocs site also not helping, throwing the same error:
Pip versions inside virtualenv:
Pip versions globally:
Python version: 3.4.3
The text was updated successfully, but these errors were encountered: