成功解决RuntimeError("Java is not installed, or the Java executable is not on system path")
RuntimeError: Java is not installed, or the Java executable is not on system path

 

 

 

目录

解决问题

解决思路

解决方法


 

 

 

 

 

解决问题

 File "D:\ProgramData\Anaconda3\lib\site-packages\sklearn2pmml\__init__.py", line 245, in sklearn2pmml
    raise RuntimeError("Java is not installed, or the Java executable is not on system path")
RuntimeError: Java is not installed, or the Java executable is not on system path

 

 

 

解决思路

引发运行时错误(“Java没有安装,或者Java可执行文件不在系统路径上”)
运行时错误:没有安装Java,或者Java可执行文件不在系统路径上

 

 

 

解决方法

Java安装下载https://www.java.com/zh-CN/download/manual.jsp
Jdk安装下载地址https://www.oracle.com/java/technologies/javase-jdk15-downloads.html

 

 

 

 

 

 

 

 

 

 

 

 


本文转载:CSDN博客