How do I import modules for Extension Tool in Jython
I'm trying to import a module in Jython but I'm getting some errors.
I first go to Windows > Preferences > PyDev > Interpreters > Jython Interpreters and add the jython.jar found in the installation URL: C:\Program Files\Parasoft\Test\9.10 for SOAtest & Virtualize\plugins\com.parasoft.xtest.scripting.eclipse.core_184.108.40.20661116\jython. I then add a Test and try importing any of the modules there and then get the following message:
Traceback (most recent call last):, File "", line 1, in , ImportError: No module named re,
I then set system properties with the jython.jar and jython/Lib paths
and get the following message:
Traceback (most recent call last):, File "", line 1, in , File "pyclasspath/re.py", line 7, in , File "pyclasspath/sre.py", line 17, in , File "pyclasspath/sre_compile.py", line 15, in , AssertionError: SRE module mismatch,
After, I installed Jython 2.7 and put the jython home and jython path on Parasoft > Preferences > Scripting and still get the same AssertionError message.
What can I do to import these modules successfully?