how to translate the windows python script to linux version

jasjas Posts: 2

Hello
Getting the import module error while i run the script in linux, below are the import statements

from soaptest.api import *
from com.parasoft.api import *
from java.lang import *
from java.text import *
from java.util import *
from java.io import *

These works fine in windows, however in linux its failing:

"ImportError: No module named soaptest.api" occurs.

Can someone direct , how can it be rectified in linux

Comments

  • Ramiro MartinezRamiro Martinez Posts: 47 admin

    Hi Jas,

    There should not be any changes between Windows and Linux for the importation of libraries.
    I have tested the import of these libraries on Linux and did not receive this message.
    Have you noticed any other unexpected behavior with SOATest? It may be possible that you have a corrupted installation, with missing libraries.

Sign In or Register to comment.