python-javabridge icon indicating copy to clipboard operation
python-javabridge copied to clipboard

Can't install for python 3.12 and also not for python 3.9

Open RAHoebe opened this issue 1 year ago • 0 comments

Hi, I got this error. For both python 3.12 and python 3.9

pip install python-bioformats Collecting python-bioformats Using cached python_bioformats-4.1.0-py3-none-any.whl.metadata (1.7 kB) Collecting boto3>=1.14.23 (from python-bioformats) Using cached boto3-1.36.3-py3-none-any.whl.metadata (6.6 kB) Collecting future>=0.18.2 (from python-bioformats) Using cached future-1.0.0-py3-none-any.whl.metadata (4.0 kB) Collecting python-javabridge~=4.0.3 (from python-bioformats) Using cached python_javabridge-4.0.4.tar.gz (1.3 MB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [18 lines of output] Traceback (most recent call last): File "C:\Users\p000881\AppData\Local\miniconda3\envs\lif39\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in main() File "C:\Users\p000881\AppData\Local\miniconda3\envs\lif39\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\p000881\AppData\Local\miniconda3\envs\lif39\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\p000881\AppData\Local\Temp\pip-build-env-awsc1146\overlay\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "C:\Users\p000881\AppData\Local\Temp\pip-build-env-awsc1146\overlay\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires self.run_setup() File "C:\Users\p000881\AppData\Local\Temp\pip-build-env-awsc1146\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup exec(code, locals()) File "", line 412, in File "", line 99, in ext_modules File "C:\Users\p000881\AppData\Local\Temp\pip-install-d6n5ihe6\python-javabridge_e22f46b9154944bf9c4ad3cf367a78ce\javabridge\locate.py", line 220, in find_jdk current_version = kjdk_values['CurrentVersion'] KeyError: 'CurrentVersion' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

RAHoebe avatar Jan 22 '25 10:01 RAHoebe