Skip to content
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

install error using pip #15

Open
jason-liu22 opened this issue Oct 29, 2021 · 4 comments
Open

install error using pip #15

jason-liu22 opened this issue Oct 29, 2021 · 4 comments

Comments

@jason-liu22
Copy link

jason-liu22 commented Oct 29, 2021

javabridge
here is my java version
java-version

@jason-liu22
Copy link
Author

Could anyone help me, please?

@jason-liu22
Copy link
Author

Hi, @bethac07 Can you help me, please?

@CotarP
Copy link

CotarP commented Jan 20, 2022

I'm having the same problem. Did you maybe figure it out?

@rayhendricks
Copy link

Having same problem installing javabridge with pip.

(cellpose) C:\Users\rjh0218>pip install python-javabridge Collecting python-javabridge Using cached python-javabridge-4.0.3.tar.gz (1.3 MB) ERROR: Command errored out with exit status 1: command: 'C:\Users\rjh0218\.conda\envs\cellpose\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\rjh0218\\AppData\\Local\\Temp\\pip-install-ws_mtnf8\\python-javabridge_0a9bd52817514c5b9f1f0d9a4e97db6d\\setup.py'"'"'; __file__='"'"'C:\\Users\\rjh0218\\AppData\\Local\\Temp\\pip-install-ws_mtnf8\\python-javabridge_0a9bd52817514c5b9f1f0d9a4e97db6d\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\rjh0218\AppData\Local\Temp\pip-pip-egg-info-3h3hqkvg' cwd: C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_0a9bd52817514c5b9f1f0d9a4e97db6d\ Complete output (9 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_0a9bd52817514c5b9f1f0d9a4e97db6d\setup.py", line 412, in <module> ext_modules=ext_modules(), File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_0a9bd52817514c5b9f1f0d9a4e97db6d\setup.py", line 99, in ext_modules jdk_home = find_jdk() File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_0a9bd52817514c5b9f1f0d9a4e97db6d\javabridge\locate.py", line 222, in find_jdk raise RuntimeError( RuntimeError: Failed to find the Java Development Kit. Please download and install the Oracle JDK 1.6 or later ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/5e/d5/78f75ee0a6beb51a606c50cc17d8f99782653f04dce6d5e12feaef089692/python-javabridge-4.0.3.tar.gz#sha256=3fee0c235efcfe866f95695fdc0b6289eab2371043b32ff4ca6feff098de59c5 (from https://pypi.org/simple/python-javabridge/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Using cached python-javabridge-4.0.2.tar.gz (1.3 MB) ERROR: Command errored out with exit status 1: command: 'C:\Users\rjh0218\.conda\envs\cellpose\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\rjh0218\\AppData\\Local\\Temp\\pip-install-ws_mtnf8\\python-javabridge_35fa36164a184644b14b5a31bbeacca1\\setup.py'"'"'; __file__='"'"'C:\\Users\\rjh0218\\AppData\\Local\\Temp\\pip-install-ws_mtnf8\\python-javabridge_35fa36164a184644b14b5a31bbeacca1\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\rjh0218\AppData\Local\Temp\pip-pip-egg-info-6v5834k3' cwd: C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_35fa36164a184644b14b5a31bbeacca1\ Complete output (9 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_35fa36164a184644b14b5a31bbeacca1\setup.py", line 412, in <module> ext_modules=ext_modules(), File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_35fa36164a184644b14b5a31bbeacca1\setup.py", line 99, in ext_modules jdk_home = find_jdk() File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_35fa36164a184644b14b5a31bbeacca1\javabridge\locate.py", line 222, in find_jdk raise RuntimeError( RuntimeError: Failed to find the Java Development Kit. Please download and install the Oracle JDK 1.6 or later ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/8c/c1/e553ceb6e71e0112d125d5a451390dc7df42962c1f67147a4c1d5b1938f9/python-javabridge-4.0.2.tar.gz#sha256=9a802a56e36e5a53cf01ca1fb9bb367b5a332cabe203b23980aa3aa32110a404 (from https://pypi.org/simple/python-javabridge/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Using cached python-javabridge-4.0.1.tar.gz (1.3 MB) ERROR: Command errored out with exit status 1: command: 'C:\Users\rjh0218\.conda\envs\cellpose\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\rjh0218\\AppData\\Local\\Temp\\pip-install-ws_mtnf8\\python-javabridge_ae2598891d4f478988c0aab18284549f\\setup.py'"'"'; __file__='"'"'C:\\Users\\rjh0218\\AppData\\Local\\Temp\\pip-install-ws_mtnf8\\python-javabridge_ae2598891d4f478988c0aab18284549f\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\rjh0218\AppData\Local\Temp\pip-pip-egg-info-b9to9ie4' cwd: C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_ae2598891d4f478988c0aab18284549f\ Complete output (9 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_ae2598891d4f478988c0aab18284549f\setup.py", line 412, in <module> ext_modules=ext_modules(), File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_ae2598891d4f478988c0aab18284549f\setup.py", line 99, in ext_modules jdk_home = find_jdk() File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_ae2598891d4f478988c0aab18284549f\javabridge\locate.py", line 222, in find_jdk raise RuntimeError( RuntimeError: Failed to find the Java Development Kit. Please download and install the Oracle JDK 1.6 or later ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/0e/52/b444f826f4148cc741755a6b6adbd1707c01864e45359b8fdf3f67c71ebc/python-javabridge-4.0.1.tar.gz#sha256=27ab04b2ae0e5f44d07854e9103dd125374d1cd9f797a2073284670de1027124 (from https://pypi.org/simple/python-javabridge/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Using cached python-javabridge-4.0.0.tar.gz (1.3 MB) ERROR: Command errored out with exit status 1: command: 'C:\Users\rjh0218\.conda\envs\cellpose\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\rjh0218\\AppData\\Local\\Temp\\pip-install-ws_mtnf8\\python-javabridge_83d17d29898b458eae0e28b2c68a0076\\setup.py'"'"'; __file__='"'"'C:\\Users\\rjh0218\\AppData\\Local\\Temp\\pip-install-ws_mtnf8\\python-javabridge_83d17d29898b458eae0e28b2c68a0076\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\rjh0218\AppData\Local\Temp\pip-pip-egg-info-r6y7yb37' cwd: C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_83d17d29898b458eae0e28b2c68a0076\ Complete output (9 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_83d17d29898b458eae0e28b2c68a0076\setup.py", line 412, in <module> ext_modules=ext_modules(), File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_83d17d29898b458eae0e28b2c68a0076\setup.py", line 99, in ext_modules jdk_home = find_jdk() File "C:\Users\rjh0218\AppData\Local\Temp\pip-install-ws_mtnf8\python-javabridge_83d17d29898b458eae0e28b2c68a0076\javabridge\locate.py", line 223, in find_jdk raise RuntimeError( RuntimeError: Failed to find the Java Development Kit. Please download and install the Oracle JDK 1.6 or later ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/58/5c/bfcc52002c9dfe5fe3bd067783243ab0130f59f757b0517f62f1ba7e88ea/python-javabridge-4.0.0.tar.gz#sha256=9fd9c85e6a32f4edd9fff659d387cbf4c1c91fde9fe3670e4f6d37d79eb6200f (from https://pypi.org/simple/python-javabridge/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement python-javabridge (from versions: 4.0.0, 4.0.1, 4.0.2, 4.0.3) ERROR: No matching distribution found for python-javabridge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants