运行命令pip install javabridge
时出现以下错误:
Could not find Java JRE compatible with x86_64 architecture
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/qk/qv11w6l52rn983d99j5zzrr40000gn/T/pip-build-pen46dwr/javabridge/setup.py", line 396, in <module>
ext_modules=ext_modules(),
File "/private/var/folders/qk/qv11w6l52rn983d99j5zzrr40000gn/T/pip-build-pen46dwr/javabridge/setup.py", line 89, in ext_modules
raise Exception("JVM not found")
Exception: JVM not found
答案 0 :(得分:0)
Javabridge需要Python 2.6 +,NumPy,Java开发工具包(JDK)和C编译器:有关安装说明,请参见https://github.com/LeeKamentsky/python-javabridge/blob/master/docs/installation.rst。