Function to ignore python environment is not defined in the native python library