Skip to content

Error user Windows #29

@luxu

Description

@luxu

I'm a windows user and the stacktrace says it's going to use os.uname, but for windows it has to be platform.uname()...tips?


× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\luxu\AppData\Local\Temp\pip-install-jnxljlnv\uwsgi_63581899bbb249248ac16d1f216e6cce\setup.py", line 3, in
import uwsgiconfig as uc
File "C:\Users\luxu\AppData\Local\Temp\pip-install-jnxljlnv\uwsgi_63581899bbb249248ac16d1f216e6cce\uwsgiconfig.py", line 8, in
uwsgi_os = os.uname()[0]
AttributeError: module 'os' has no attribute 'uname'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions