You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I kept getting the following error when trying to pip install this package.
Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/fs/j80hs_f913l5w4447q50b1lh0000gn/T/pip-req-build-88_26oi8/setup.py", line 14, in <module> long_description=open('README.rst').read() + "\n\n" + \ File "python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 922: ordinal not in range(128)
I added the encoding argument to the setup.py file, and then I was able to install, maybe this could be helpful for others too.
I kept getting the following error when trying to pip install this package.
Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/fs/j80hs_f913l5w4447q50b1lh0000gn/T/pip-req-build-88_26oi8/setup.py", line 14, in <module> long_description=open('README.rst').read() + "\n\n" + \ File "python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 922: ordinal not in range(128)
I added the encoding argument to the setup.py file, and then I was able to install, maybe this could be helpful for others too.
long_description=open('README.rst', encoding="utf-8").read() + "\n\n" +
open(os.path.join('docs', 'HISTORY.txt')).read(),
The text was updated successfully, but these errors were encountered: