Third-Party Library Support
Version 25.3.9469
Version 25.3.9469
Third-Party Library Support
You can use third-party libraries when writing Python in CData Arc. In the Jep Java API, you can choose between two types of Python interpreters:
- SharedInterpreter
- SubInterpreter
Keep the following in mind when you configure your Arc environment to use Python.
Use SharedInterpreter if:
- You are new to running Python scripts in Arc.
- You are using third-party libraries like NumPy.
Use SubInterpreter if:
- You require parallel script execution.
- Full third-party library support is not important to you.
This behavior is controlled by the SHARED_INTERPRETER environment variable. If you set the environment variable SHARED_INTERPRETER=false, Arc uses SubInterpreter.
If you do not set the environment variable, or you explicitly set it to true, Arc defaults to SharedInterpreter.
Note: While Arc restricts access to modules based on the value of ScriptingEngineHardeningLevel, it cannot fully guarantee that third-party libraries installed on the system abide by these rules. Use this with caution in highly controlled environments.