-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
py4j.protocol.Py4JNetworkError: Answer from Java side is empty #2
Comments
This is a generic Py4J layer error. The execution gets stuck when launching the Py4J gateway, because there doesn't seem to be a Java installation available. Do you have Java 1.8 (or newer) installed and available on system path? To test it, open a command prompt, and type |
@vruusmann Thanks for replying, Yes I have a java, maybe the version is incompatible?
|
Version 11(.0.2) is definitely newer/greater than the minimum required version 8. There shouldn't be any problems with Java 11 from the JPMML-Evaluator library perspective. But perhaps there are some issues with the Py4J "carrier layer" perspective. You should try making a parallel Java 8 installation into your computer. Then, export to the location of the Java 8 installation as |
@Harpsichord1207 This is no real solution. One cannot go on manually correcting PMML files. You should really inform the KNIME team about this issue, and ask them to fix their software. |
I install a Java 8, and get the same error:
|
Thanks, I'll feed back this issue to KNIME team. |
It's now possible to choose between PyJNIus and Py4J backends (see the README file). Please give the PyJNIus backend a try (if the Py4J backend keeps failing). |
I copied the code in readme except replace the pmml file and csv file , and then raise a error.
Code:
Error:
The text was updated successfully, but these errors were encountered: