Function to ignore python environment is not defined in the native python library

Hey Guys,

I have not used Deadline since 2013 but now I have a new job and need to start using it again. What I am trying to do is to create a python script that sends a Maya scene to deadline using the Arnold renderer. I did one at my old work but the old MEL command that I used to send scenes to Deadline does not wok anymore. I am using this system command to send the scene to deadlinecommand.exe.

mel.eval(‘system “my_path_to/deadlinecommand.exe %s %s”’ % (submitFilename, jobFilename ))

But all I get is this output in the script editor:
Result: Function to ignore python environment is not defined in the native python library

I am using Maya 2016 and Deadline Version: 7.1.0.21 R ´. Any idea how to fix this or a link to a python script that sends a maya file to deadline using the arnold renderer.

Cheers,

Will

Fixed it by adding the Deadline install folder Lib folder path to my Maya.env python path. Sorry about my stupidity, have a great day :smiley:

I’ll be honest, I have no idea what you mean about the lib folder. :smiley:

Glad it’s working for you though.