Hi, joining this thread because I'm going through the same sequence of frustrating experiments trying to get scripting configured and any of the sample scripts to work.
I've read (and heard in Igor's video) that the environment variables are wrong in the documentation. I'm just back to Windows after 6 years of Ubuntu, and am not enjoying being back. Maddening, the quotes and double-backlash and spaces in filenames for defaults.
So it's likely I haven't set the environment variables correctly.
When I open a Command Prompt, these are the env var:
- Code: Select all
PYTHONPATH=C:\Python27;%RESOLVE_SCRIPT_API%\\Modules\\;
RESOLVE_SCRIPT_API="C:\ProgramData\\Blackmagic Design\\DaVinci Resolve\\Support\\Developer\\Scripting"
RESOLVE_SCRIPT_LIB="C:\\Program Files\\Blackmagic Design\\DaVinci Resolve\\fusionscript.dll"
Another indication that something is wrong is that when I open the console (Workspace | Console), the info icon and the gear icon don't do anything. I'm supposing that the gear (Console Settings?) icon would let me see things like that path to the interpretters, but nothing. Also, I tried changing the scripting location from "None" to "Local" but it doesn't stick, it goes back to None. Not sure what that setting does anyway.
When I try to run the python script from the command like (or from PyCharm), I can't load the Resolve module.
Although I have a lot of programming experience, the combination of not knowing Python and not know Windows env / modules is killing me. I've already spent a few hours on this, bought this computer specifically to run Resolve, bought Resolve Studio specifically to run scripts, and am now stuck.
Any help would be greatly appreciated.
Thanks,
Tac