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

Cannot import name 'uname' on Windows #1234

Closed
alensiljak opened this issue Feb 10, 2018 · 4 comments
Closed

Cannot import name 'uname' on Windows #1234

alensiljak opened this issue Feb 10, 2018 · 4 comments

Comments

@alensiljak
Copy link

alensiljak commented Feb 10, 2018

os.uname is not supported on Windows.

The advice is to try platform.uname instead.

@inclement
Copy link
Member

Closing as not an active issue, since windows is not supported. I think it might have been fixed anyway.

@AndreMiras
Copy link
Member

We still seem to rely on os.uname() rather than platform.uname() actually. I don't have a Windows platform to play with, but the fix should be pretty straight forward and pull requests are welcome @mistery 😃

@alensiljak
Copy link
Author

I submitted a fix a while back and it was rejected. Also, as you can see above, there was not much will to fix it on Windows due to a host of other issues that pop up afterwards, unfortunately.

@SwagatRanjit84
Copy link

@inclement wont it work on windoiws?

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

4 participants