Open
Description
I encountered the following error when installing gcamwrapper
on Windows with pip install .
. It seems Windows does not support os.uname
.
Processing c:\workspace\github\gcamwrapper
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\WorkSpace\github\gcamwrapper\setup.py", line 24, in <module>
JAVA_PLATFORM_INCLUDE = JAVA_INCLUDE + '/' + os.uname()[0].lower()
^^^^^^^^
AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'?
[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
Labels
No labels