When running pip install . I get this error:
AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'?
I think this is because the uname function only works on some Unix systems. We can fix this by using the platform module, and changing line 24 in setup.py to
JAVA_PLATFORM_INCLUDE = JAVA_INCLUDE + '/' + platform.uname()[0].lower()
When running
pip install .I get this error:AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'?I think this is because the uname function only works on some Unix systems. We can fix this by using the platform module, and changing line 24 in setup.py to
JAVA_PLATFORM_INCLUDE = JAVA_INCLUDE + '/' + platform.uname()[0].lower()