rossumai/nvgpu

Install nvgpu error !

Closed this issue · 2 comments

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

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.

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