Hi, on the farm we perform some automation with toolkit. Rarely but consistently (say, 1% of cases) we get Importing sgtk failed: No module named sgtk
.
For debugging we print out the python path immediately before this, and it clearly contains the path to toolkit projectpath/install/core/python
, which is added at the start.
I am out of ideas how to further debug that. There does not seem to be a definite pattern to the failures (no specific machines, types of jobs).