You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "gci.py", line 873, in
augment=args.data_augment)
File "gci.py", line 446, in build_causal_graph
from pycausal.pycausal import pycausal as pc
File "/environment/miniconda3/lib/python3.7/site-packages/pycausal/pycausal.py", line 32, in
import javabridge
File "/environment/miniconda3/lib/python3.7/site-packages/javabridge/init.py", line 25, in
_, jdk_so = find_jre_bin_jdk_so()
File "/environment/miniconda3/lib/python3.7/site-packages/javabridge/locate.py", line 206, in find_jre_bin_jdk_so
java_home = find_javahome()
File "/environment/miniconda3/lib/python3.7/site-packages/javabridge/locate.py", line 114, in find_javahome
java_bin = get_out(["bash", "-c", "type -p java"])
File "/environment/miniconda3/lib/python3.7/site-packages/javabridge/locate.py", line 111, in get_out
raise Exception("Error finding javahome on linux: %s" % cmd)
Exception: Error finding javahome on linux: ['bash', '-c', 'type -p java']
The text was updated successfully, but these errors were encountered:
I run my program on the online studio, and it doesn't have java installed. I type java -version on the command line and it outputs "no command java". I have solve this problem but I got in some new trouble... I will send you later.
Thanks for your hospitality and your email!
------------------ 原始邮件 ------------------
发件人: "LeeKamentsky/python-javabridge" ***@***.***>;
发送时间: 2022年9月11日(星期天) 凌晨4:40
***@***.***>;
***@***.******@***.***>;
主题: Re: [LeeKamentsky/python-javabridge] Exception: Error finding javahome on linux: ['bash', '-c', 'type -p java'] (Issue #207)
Hi Kim, thanks for trying Javabridge.
Can you run the following on the command line for me and send me the output?
type -p java
Also, could you try the following on the command line and send me the output?
java -version
Thanks,
Lee
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
Traceback (most recent call last):
File "gci.py", line 873, in
augment=args.data_augment)
File "gci.py", line 446, in build_causal_graph
from pycausal.pycausal import pycausal as pc
File "/environment/miniconda3/lib/python3.7/site-packages/pycausal/pycausal.py", line 32, in
import javabridge
File "/environment/miniconda3/lib/python3.7/site-packages/javabridge/init.py", line 25, in
_, jdk_so = find_jre_bin_jdk_so()
File "/environment/miniconda3/lib/python3.7/site-packages/javabridge/locate.py", line 206, in find_jre_bin_jdk_so
java_home = find_javahome()
File "/environment/miniconda3/lib/python3.7/site-packages/javabridge/locate.py", line 114, in find_javahome
java_bin = get_out(["bash", "-c", "type -p java"])
File "/environment/miniconda3/lib/python3.7/site-packages/javabridge/locate.py", line 111, in get_out
raise Exception("Error finding javahome on linux: %s" % cmd)
Exception: Error finding javahome on linux: ['bash', '-c', 'type -p java']
The text was updated successfully, but these errors were encountered: