I’m writing a custom event script for the python plugin. What’s the best way to install new modules to the running python application being used by deadline? For example, I’m importing the jwt module from an outside site-packages directory but its throwing an error that it cannot find the dll. I’m assuming this is the case because jwt wasn’t built with the running version of python.
If you go to Tools → Repository Options → Python Settings, you can enter additional include paths.
Point this to a venv and you’re done. Preferably match Deadline’s python (3.7?) in the venv.
We tried creating a venv with dpython, but it did not work - there were some library errors. Doesn’t mean it’s not possible, though.
Thus you might start from another python 3.10 or 3.7.