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
Collecting android-resource-remover
Using cached android-resource-remover-0.1.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 20, in
File "C:\Users\asm\AppData\Local\Temp\pip-build-oa9d_rfx\android-resource-remover\setup.py", line 15, in
long_description='\n\n'.join((read('README.md'), read('CHANGELOG'))),
File "C:\Users\asm\AppData\Local\Temp\pip-build-oa9d_rfx\android-resource-remover\setup.py", line 9, in read
return open(os.path.join(os.path.dirname(file), f)).read().strip()
File "c:\software\python 3.5.1\lib\encodings\cp1250.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x83 in position 3075: character maps to
----------------------------------------
The text was updated successfully, but these errors were encountered:
I get the same errors.So I fix the line 9 in setup.py like this
"return open(os.path.join(os.path.dirname(file), f),encoding='utf-8').read().strip()".
Then it works.
When we create a file in window, it's encode will use gbk instead of utf-8.If we want utf-8,we have to declare it before open the file.
pip install android-resource-remover
Collecting android-resource-remover
Using cached android-resource-remover-0.1.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 20, in
File "C:\Users\asm\AppData\Local\Temp\pip-build-oa9d_rfx\android-resource-remover\setup.py", line 15, in
long_description='\n\n'.join((read('README.md'), read('CHANGELOG'))),
File "C:\Users\asm\AppData\Local\Temp\pip-build-oa9d_rfx\android-resource-remover\setup.py", line 9, in read
return open(os.path.join(os.path.dirname(file), f)).read().strip()
File "c:\software\python 3.5.1\lib\encodings\cp1250.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x83 in position 3075: character maps to
The text was updated successfully, but these errors were encountered: