12/7/2023 0 Comments Languagetool in python 3Error message: Code in file main.py can't be loaded. I'm getting the following error message -įunction failed on loading user code. But when I'm trying to deploy it in Cloud Function. I could use the library using my local virtual environment where I have java installed. How you use language tool in Google Cloud Function? I'm trying to deploy in GCP Cloud Function with runtime Python 3.7. errorĬomplete output from command /usr/bin/python -u -c "import setuptools, tokenize _file_='/tmp/pip-build-_W9osa/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-xKEHYl-record/install-record.txt -single-version-externally-managed -compile -user -prefix=:Ĭommand "/usr/bin/python -u -c "import setuptools, tokenize _file_='/tmp/pip-build-_W9osa/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-xKEHYl-record/install-record.txt -single-version-externally-managed -compile -user -prefix=" failed with error code 1 in /tmp/pip-build-_W9osa/language-check/ Running setup.py install for language-check. Installing collected packages: language-check Running setup.py clean for language-check OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode) OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1) errorĬomplete output from command /usr/bin/python -u -c "import setuptools, tokenize _file_='/tmp/pip-build-_W9osa/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/tmpYOwq7gpip-wheel-python-tag cp27:Ĭould not parse Java version from """openjdk version "10.0.1" Running setup.py bdist_wheel for language-check. Building wheels for collected packages: language-check
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |