Install nvgpu error !
Closed this issue · 2 comments
epicwarhd commented
bzamecnik commented
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.
- 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 commented
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:
So I install all these required package one by one.
Now it works