aboSamoor / polyglot

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

ImportError: cannot import name 'SIGPIPE' #255

Open chelove4draste opened 2 years ago

chelove4draste commented 2 years ago

python 3.6.8, windows 10

polyglot

Traceback (most recent call last):
File "d:\___windowspc\py3.6\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "d:\___windowspc\py3.6\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "G:\aihub\mainvenv\Scripts\polyglot.exe\__main__.py", line 4, in <module>
File "G:\aihub\mainvenv\lib\site-packages\polyglot\__main__.py", line 9, in <module>
from signal import signal, SIGPIPE, SIG_DFL
ImportError: cannot import name 'SIGPIPE'