language-check给出OSError:[WinError 87]参数不正确

时间:2018-02-13 06:50:20

标签: python languagetool

我正在尝试使用语言检查a link

我在网上收到错误

tool = language_check.LanguageTool('en-US')

我收到此错误:

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    tool = language_check.LanguageTool('en-US')
  File "C:\Users\IMI-Nidhi\AppData\Local\Programs\Python\Python37\lib\site-packages\language_check\__init__.py", line 196, in __init__
    self._start_server_on_free_port()
  File "C:\Users\IMI-Nidhi\AppData\Local\Programs\Python\Python37\lib\site-packages\language_check\__init__.py", line 333, in _start_server_on_free_port
    cls._start_local_server()
  File "C:\Users\IMI-Nidhi\AppData\Local\Programs\Python\Python37\lib\site-packages\language_check\__init__.py", line 357, in _start_local_server
    startupinfo=startupinfo
  File "C:\Users\IMI-Nidhi\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 756, in __init__
    restore_signals, start_new_session)
  File "C:\Users\IMI-Nidhi\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1160, in _execute_child
    startupinfo)
OSError: [WinError 87] The parameter is incorrect

出了什么问题,我该怎么做才能解决这个问题?

0 个答案:

没有答案