Issue with Linux installation
Closed this issue · 1 comments
pauloney commented
I tried the simple (below) on Ubuntu 22.04, to no avail:
$ sudo pip install --upgrade language-check
[sudo] password for paulo:
Collecting language-check
Downloading language-check-1.1.tar.gz (33 kB)
Building wheels for collected packages: language-check
Building wheel for language-check (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1gavd49p/language-check/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1gavd49p/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-tixhutjr
cwd: /tmp/pip-install-1gavd49p/language-check/
Complete output (4 lines):
Could not parse Java version from """openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment (build 17.0.11+9-Ubuntu-120.04.2)
OpenJDK 64-Bit Server VM (build 17.0.11+9-Ubuntu-120.04.2, mixed mode, sharing)
""".
----------------------------------------
ERROR: Failed building wheel for language-check