A
A
astdout2020-09-14 14:43:27
uWSGI
astdout, 2020-09-14 14:43:27

Why do I get an error when installing uwsgi?

ERROR: Command errored out with exit status 1:
command: 'c:\users\pc\pycharmprojects\djangoproject\venv\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Vladisla
v\\AppData\\Local\\Temp\\pip-install-09zl4rq4\\uwsgi\\setup.py'"'"' ; __file__='"'"'C:\\Users\\PC\\AppData\\Local\\Temp\\pip-install-09zl4rq4\\uwsgi\\setup.py'
"'"';f=getattr(tokenize , '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\ n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\PC\AppData\Local\Temp\pip-install-09zl4rq4\uwsgi\setup.py", line 3, in
import uwsgiconfig as uc
File "C:\Users\PC\AppData\Local\Temp\pip-install-09zl4rq4\uwsgi\uwsgiconfig.py", line 8, in
uwsgi_os = os.uname()[0]
AttributeError: module 'os' has no attribute 'uname'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-09-14
@bacon

As far as I remember, uwsgi does not support this OS, there you need to do some dancing with Cygwin, or look for a ready-made binary, if there is one at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question