alibaba / Alink

Alink is the Machine Learning algorithm platform based on Flink, developed by the PAI team of Alibaba computing platform.
Apache License 2.0
3.58k stars 802 forks source link

Pyalink useLocalEnv No such file or directory: 'java' #219

Open joyatcloudfall opened 2 years ago

joyatcloudfall commented 2 years ago

我尝试在运行其中一个pyalink的example。但是在第一步的时候就出现了找不到java的问题。我觉得很困惑,因为在同一个notebook中使用os.getevn('JAVA_HOME')可以成功打印出我的java路径。

from pyalink.alink import *
resetEnv()
useLocalEnv(1, config=None)

这是我的java版本

java version "1.8.0_341" Java(TM) SE Runtime Environment (build 1.8.0_341-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.341-b10, mixed mode)

fangichao commented 2 years ago

解决了吗同学