AnsweredAssumed Answered

PMI Deep Learning network step - The following engines are unavailable (check configuration): Python - Scikit-learn R - MLR Spark - MLlib DL4j

Question asked by Ingo Levin on Nov 16, 2018
Latest reply on May 28, 2019 by Mark Hall

Having upgrade to the latest PMI 1.4 from Marketplace, I am getting the following error message opening the PMI Deep Learning network step:

"The following engines are unavailable (check configuration): Python - Scikit-learn R - MLR Spark - MLlib DL4j "


This only happens on the Deep Learning step, the other PMI steps work fine. I suspect it is not installing/loading the DJ4j lib correctly.



On the console

java.lang.ClassNotFoundException: weka.python.PythonSession

        at Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClassFromParent(

        at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(KettleURLC

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoade

        at weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoade

        at org.pentaho.pmi.engines.PythonEngine.<clinit>(

        at org.pentaho.pmi.PMIEngine.init(

        at org.pentaho.pmi.PMIEngine.getEngineNames(

        at org.pentaho.di.ui.trans.steps.pmi.BaseSupervisedPMIStepDialog.addConf



        at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonSt

        at org.pentaho.di.ui.spoon.Spoon.editStep(


Tried these troubleshooting steps:

1) remove the ~\wekafiles directory


2) Re-Installed all R packages. Now have

> packageVersion('JavaGD')

[1] ‘0.6.1’

> packageVersion('XML')

[1] ‘’

> packageVersion('LiblineaR')

[1] ‘2.10.8’

> packageVersion('e1071')

[1] ‘1.6.8’

> packageVersion('randomForest')

[1] ‘4.6.12’

> packageVersion('nnet')

[1] ‘7.3.12’

> packageVersion('gbm')

[1] ‘2.1.3’


3) Ran No errors.

C:\Users\ingo>python wekafiles/packages/wekaPython/resources/py/




4) Started Spoon. Having removed the wekafiles folder earlier, it forced a fresh download of all the packages.


5) Restarted Spoon. Created new Transformation and added the Deep Learning step:

Still getting the same error when I attempt to open the step.