2 Replies Latest reply on Mar 8, 2016 2:41 PM by Prasad Bonasu

    problem running jython scripts

    Prasad Bonasu

      I have installed jython 2.5.2 in /opt/jython/jython2.5.2              (linux)


      Using bsa 8.3 sp2 and followed below link to configure


      Installing and configuring Jython - BMC Server Automation 8.5 - BMC Documentation


      when I run import bladelogic.cli.CLI as blcli, I'm getting below error




      Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06)

      [Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_37

      Type "help", "copyright", "credits" or "license" for more information.

      >>> import sys

      >>> import bladelogic.cli.CLI as blcli

      Traceback (most recent call last):

        File "<stdin>", line 1, in <module>

      ImportError: No module named bladelogic


      Does anyone know how to troubleshoot this issue. thank you