Open lchzh opened 3 weeks ago
Based on the error message above, it seems the Java process not started successfully. Can you please check if the java command is in PATH or set the correct JAVA_HOME?
I also encountered this issue. Have you resolved it?
@FRMer3737 Can you please provide the following info? OS, Python version, Java version, and pypmml vresion
@scorebot thanks for your rapid answer. python3.12.4;Java 1.8.0_333;pypmml 1.5.2; print(os.path.exists(r'br_fpd_model_2024.pmml')) is true
@FRMer3737 What's your OS? Is the java command in PATH or setting the correct JAVA_HOME?
sorry,my os is windows and setting the correct JAVA_HOME
发自我的iPhone
------------------ Original ------------------ From: Bo Song @.> Date: Fri,Nov 1,2024 11:45 AM To: autodeployai/pypmml @.> Cc: FRMer3737 @.>, Mention @.> Subject: Re: [autodeployai/pypmml] Using a higher version of pypmml(>=1.0) to load a pmml model will result in an error (Issue #59)
@FRMer3737 What's your OS? Is the java command in PATH or setting the correct JAVA_HOME?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
The root cause is Java 1.8 which doesn't support the option --add-exports=java.base/jdk.internal.math=ALL-UNNAMED
that was added from pypmml>=1.0, the workaround is to upgrade your java to a new version, for example, Java 11. Actually, the latest pypmml
doesn't depend on the option anymore, I will remove it in the next version soon
Thanks sooooooo much. I'll try it.
发自我的iPhone
------------------ Original ------------------ From: Bo Song @.> Date: Fri,Nov 1,2024 0:28 PM To: autodeployai/pypmml @.> Cc: FRMer3737 @.>, Mention @.> Subject: Re: [autodeployai/pypmml] Using a higher version of pypmml(>=1.0) to load a pmml model will result in an error (Issue #59)
The root cause is Java 1.8 which doesn't support the option --add-exports=java.base/jdk.internal.math=ALL-UNNAMEDthat was added from pypmml>=1.0, the workaround is to upgrade your java to a new version, for example, Java 11. Actually, the latest pypmml doesn't depend on the option anymore, I will remove it in the next version soon
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
@FRMer3737 @lchzh Fixed the issue in the pypmml 1.5.3
@FRMer3737 @lchzh Please let me know if the new version 1.5.3
resolved your issue. Thank you.
ValueError Traceback (most recent call last)