aboSamoor / polyglot

Multilingual text (NLP) processing toolkit
http://polyglot-nlp.com
Other
2.28k stars 337 forks source link

ERROR: Command errored out with exit status 1: #242

Open klugds opened 3 years ago

klugds commented 3 years ago

running as administrator in Windows 10, Anaconda, Python 3.8.5

(base) C:\Users\username\Downloads\programs>pip install ./polyglot-16.7.4.tar.gz Processing c:\users\username\downloads\programs\polyglot-16.7.4.tar.gz ERROR: Command errored out with exit status 1: command: 'C:\ProgramData\Anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\username\AppData\Local\Temp\pip-req-build-9wdc6xxt\setup.py'"'"'; file='"'"'C:\Users\username\AppData\Local\Temp\pip-req-build-9wdc6xxt\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\username\AppData\Local\Temp\pip-pip-egg-info-xh7lddx4' cwd: C:\Users\username\AppData\Local\Temp\pip-req-build-9wdc6xxt\ Complete output (7 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\username\AppData\Local\Temp\pip-req-build-9wdc6xxt\setup.py", line 15, in readme = readme_file.read() File "C:\ProgramData\Anaconda3\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 4941: character maps to

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.