- SharedInterpreter
- SubInterpreter
SharedInterpreter if:
- You are new to running Python scripts in .
- You are using third-party libraries like NumPy.
SubInterpreter if:
- You require parallel script execution.
- Full third-party library support is not important to you.
SHARED_INTERPRETER environment variable. If you set the environment variable SHARED_INTERPRETER=false, uses SubInterpreter.
If you do not set the environment variable, or you explicitly set it to true, defaults to SharedInterpreter.