When running a script created in Jython I get the following error..

Reason: When you wrongly  import a script from another script library (known as a module) you may get an Import Error. Often this is as simple as a spelling mistake ie the import statement must refer to the name of the jython file without the extension for example:

In this example I am importing a reference into “this script” the reference is to a module called “clusterManagementLibrary” and I used an alias for simplicity in my code.

Solution :

I had wrongly used the reference clusterMangementLibrary when I should have used clusterManagementLibrary

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply