Traceback (most recent call last):
File "C:\Users\f.ksontini\AppData\Local\Programs\Python\Python37\lib\site-packages\language_check_init_.py", line 594, in get_server_cmd
cmd = cache['server_cmd']
C:\workplace\IA\ML-fomo>python main.py 'Metallica' 100
Traceback (most recent call last):
File "C:\Users\f.ksontini\AppData\Local\Programs\Python\Python37\lib\site-packages\language_check_init_.py", line 594, in get_server_cmd
cmd = cache['server_cmd']
KeyError: 'server_cmd'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\f.ksontini\AppData\Local\Programs\Python\Python37\lib\site-packages\language_check_init_.py", line 605, in get_jar_info
java_path, jar_path = cache['jar_info']
KeyError: 'jar_info'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 226, in
main()
File "main.py", line 180, in main
api = TwitterAnalyzer()
File "main.py", line 52, in init
self.checkLang = language_check.LanguageTool('en-US')
File "C:\Users\f.ksontini\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\f.ksontini\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\f.ksontini\AppData\Local\Programs\Python\Python37\lib\site-packages\language_check_init.py", line 345, in start_local_server
server_cmd = get_server_cmd(cls.port)
File "C:\Users\f.ksontini\AppData\Local\Programs\Python\Python37\lib\site-packages\language_check_init.py", line 596, in get_server_cmd
java_path, jar_path = get_jar_info()
File "C:\Users\f.ksontini\AppData\Local\Programs\Python\Python37\lib\site-packages\language_check_init.py", line 609, in get_jar_info
raise JavaError("can't find Java")
language_check.JavaError: can't find Java