Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jython & NetBeans  RSS feed

bob dapaah
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone here tried to use the integrated Jython capability of NetBeans. I'm trying to import 'string' and I get the following error:
Traceback (innermost last): File "", line 1, in ?ImportError: no module named string at org.python.core.Py.ImportError( at org.python.core.imp.import_first( at org.python.core.imp.import_name( at org.python.core.imp.importName( at org.python.core.ImportFunction.load( at org.python.core.ImportFunction.__call__( at org.python.core.PyObject.__call__( at org.python.core.__builtin__.__import__( at org.python.core.imp.importOne( at org.python.pycode._pyx19.f$0(:1) at org.python.pycode._pyx19.call_function() at at at org.python.core.Py.runCode( at org.python.core.Py.exec( at org.python.util.PythonInterpreter.exec( at org.netbeans.modules.scripting.JPythonScriptType.exec( at org.openide.execution.ScriptType.exec( at org.netbeans.modules.scripting.ScriptUtils$ at
Is there anything I could do to rectify this - some sort of path problem perhaps...
Thanks in advance
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!