Python Environment Variables

User avatar
RBemendo
Fusioneer
Posts: 153
Joined: Fri Dec 12, 2014 11:32 am
Been thanked: 1 time

Python Environment Variables

#1

Post by RBemendo » Thu Sep 12, 2019 6:12 am

I went through Windows Environment variables and manually created new variables with the directions in the readme file. However when I try using the example python scripts in Resolve I get an "Unable to find module DaVinciResolveScript from $PYTHONPATH - trying default locations".

The scripts run, but i'm guessing I did something wrong. here's what I changed in windows environment variables.


User avatar
Igor Ridanovic
Posts: 28
Joined: Mon Apr 16, 2018 11:17 pm
Location: Los Angeles
Been thanked: 3 times
Contact:

Re: Python Environment Variables

#2

Post by Igor Ridanovic » Tue Oct 15, 2019 12:11 pm

I''m not sure you need the double slashes. One slash is single in one of the paths. But, I don't even care about the %PATH% and just load the library in Python using imp. You know where fusionscript.dll is, just import it directly.