Skip to content

ERROR: Command errored out with exit status 1: python setup.py egg_info #28

@devcshort

Description

@devcshort

I'm trying to run step 3 of the installation steps so I can work on some updates to the styling. However I keep running in to this error when running pip install -r requirements.txt.

Python Version: 3.8.6
Pip Version: 20.2.3

     command: 'c:\users\chriss\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ChrisS\\AppData\\Local\\Temp\\pip-install-upoqhte7\\uwsgi\\setup.py'"'"'; __file__='"'"'C:\\Users\\ChrisS\\AppData\\Local\\Temp\\pip-install-upoqhte7\\uwsgi\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\ChrisS\AppData\Local\Temp\pip-pip-egg-info-brr1ei3d'
         cwd: C:\Users\ChrisS\AppData\Local\Temp\pip-install-upoqhte7\uwsgi\
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\ChrisS\AppData\Local\Temp\pip-install-upoqhte7\uwsgi\setup.py", line 3, in <module>
        import uwsgiconfig as uc
      File "C:\Users\ChrisS\AppData\Local\Temp\pip-install-upoqhte7\uwsgi\uwsgiconfig.py", line 8, in <module>
        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.```

I've tried updating setuptools and uninstalled/reinstalled Python, but still no success. I'm thinking this may be a configuration issue on my end, but I'm not familiar enough with Python to know for sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions