Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error user Windows #29

Open
luxu opened this issue Feb 16, 2022 · 0 comments
Open

Error user Windows #29

luxu opened this issue Feb 16, 2022 · 0 comments

Comments

@luxu
Copy link

luxu commented Feb 16, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant