aboSamoor / polyglot

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

pip install polyglot error: subproc exit with error: #261

Open ryan-seitz opened 2 years ago

ryan-seitz commented 2 years ago

C:\Users\r>pip install polyglot Collecting polyglot Downloading polyglot-16.7.4.tar.gz (126 kB) ---------------------------------------- 126.3/126.3 kB 1.2 MB/s eta 0:00:00 Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\r\AppData\Local\Temp\pip-install-jiuhzdjt\polyglot_bd6a0716ccdf4fd7ae7fad12136682fa\setup.py", line 15, in readme = readme_file.read() File "C:\Users\r\AppData\Local\Programs\Python\Python39\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 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. image