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

Install nvgpu error ! #31

Closed
epicwarhd opened this issue May 6, 2023 · 2 comments · Fixed by #33
Closed

Install nvgpu error ! #31

epicwarhd opened this issue May 6, 2023 · 2 comments · Fixed by #33

Comments

@epicwarhd
Copy link

I got a error when install nvgpu on windows. I have found a similar problem in gg when it says to install on ubuntu so I try in WSL and it's successful. Can anyone help me to install it in windows ?
image

@bzamecnik
Copy link
Collaborator

bzamecnik commented May 7, 2023

Thanks. It seems to crash when reading the README.md file in setup.py.

def read_file(path):
    with open(path, 'r') as f:
        return f.read()

On Windows for some reason it tries to interpret the file using the CP1252 encoding instead of UTF-8.

@epicwarhd:

  • What is your version of Python?
  • Could you try to get the README.md file (eg. download it from the GitHub repo) and try calling the open() above with different parameters: eg. 'rt'? I don't have access to Windows.

@epicwarhd
Copy link
Author

epicwarhd commented May 7, 2023

Thank @bzamecnik for your answer !
I clone your github into my project, add encoding='utf8' to open() => It solve the charmap problem.
I run python setup.py build then python setup.py install but got this error:
image
So I install all these required package one by one.
Now it works

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

Successfully merging a pull request may close this issue.

2 participants