-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error during pip install #17
Comments
#12 |
How about switching the language-check dependency to language_tool_python (forked from language-check): https://github.com/jxmorris12/language_tool_python language-check doesn't seem to be maintained currently. language_tool_python works for me while language-check fails to install because of that same regex parsing bug in how they are trying to determine your java version. |
+1 to noelslice It appears language-check has been abandoned... can you switch to language-tool-python? Can you modify your package yo work with language-tool-python instead of language-check? |
Any updates on this? Happening to me on MacOS as well. |
I have created a PR to fix this problem #19 |
If you find an LGPL language tool wrapper I would be open to changing this. By linking to that specific library it forces GPL on my code which I can't do as this library is used commercially by myself and others and that would enforce GPL on those projects. |
If I ever find time (or if someone else does) I may just fork language-check and patch the installer to detect newer Java versions. It would be an easy fix. |
@ian-beaver any chance you had the time to patch the installer to detect newer Java versions? |
@ian-beaver The Java regex was already fixed for new versions in myint/language-check#57. There is also newer problem with fetching LanguageTool from their web, which was already fixed in myint/language-check#79. The only problem is, that Temporary workaround (install from forked & fixed repo): # ssh
pip install git+ssh://git@github.com/MCFreddie777/language-check.git
# https
pip install git+https://github.com/MCFreddie777/language-check.git and then pip install pycontractions |
Building wheel for language-check (setup.py) ... error
ERROR: Failed building wheel for language-check
Running setup.py clean for language-check
Failed to build language-check
Installing collected packages: language-check, pycontractions
Running setup.py install for language-check ... error
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_3s1mdcb/language-check/setup.py'"'"'; file='"'"'/tmp/pip-install-_3s1mdcb/language-check/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-i7qdzghy/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
The text was updated successfully, but these errors were encountered: