Open jeanbaptisteb opened 6 years ago
Same issue here with the 18.04 ubuntu desktop image. Got this error message:
Running setup.py bdist_wheel for language-check ... error
Complete output from command /home/bag_of_words/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-w08w5t2o/language-check/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-wap2l03f --python-tag cp36:
Could not parse Java version from """openjdk version "10.0.1" 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
Hmm, it seems to be a duplicate of https://github.com/myint/language-check/issues/31, isn't it?
Yes, should be a duplication because they also can not parse the java version with this regex, but it is not failing with only one certain java version. You can try my Pull-request or delete on your own 3 characters :D
This should be fixed with https://github.com/myint/language-check/pull/57 Can we make a new release for pip with this bug fix?
Hi! Since this project has been abandoned, I started a new fork over at https://github.com/jxmorris12/language_tool_python.
My version supports new versions of Java and LanguageTool. language-check
is stuck on Java 8 and LanguageTool 3.2; latest versions are Java 14 and LanguageTool 4.9!
I'm happy to help you with your issue if you raise it over at my repository! Thanks!
Config:
I tried to install language-check from pip, and the installation works. But then, when I try using it in some Python code, it throws some error.
So I tried to install language-check directly from the git repo, as suggested in another issue, with:
pip3 install git+https://github.com/myint/language-check.git
But then I get:I also tried installing it on Windows, with the following configuration, and in this case it works like a charm:
So I guess that the problem comes from OpenJDK on Ubuntu.
Any advice?