Hello,
I have a standalone Python script
import subprocess
subprocess.call([path to bat file that run mayapy.exe and execute another python script])
The mayapy script finishes and then I get an error:
Error: Line1: Cannot find procedure “file”
The same happens with os.system(call for mayapy.exe)
The script is working without this error everywhere except one office in another physical location. Could it be related to users’ permissions/rights? Wery weird situation, IDK how to troubleshoot it, looks like the issue is on the OS (Win) side, not with the Python script itself.