Just in case you find the same problem I did, out of the box freshly installed Coreform Cubit 2025.8 has the following error when trying to use a Cubit python script;
python3 my_script.py
>>>
File "/opt/Coreform-Cubit-2025.8/bin/cubit.py", line 45, in <module>
from cubit3 import *
File "/opt/Coreform-Cubit-2025.8/bin/cubit3.py", line 12, in <module>
import _cubit3
ImportError: libCATSysTS.so: cannot enable executable stack as shared object requires: Invalid argument
This can be fixed by running;
sudo execstack -c /opt/Coreform-Cubit-2025.8/bin/acis/code/bin/libCATSysTS.so