ayon-core/website/docs/admin_hosts_resolve.md
2021-05-10 12:33:38 +02:00

2.3 KiB

id title sidebar_label
admin_hosts_resolve DaVinci Resolve Setup DaVinci Resolve

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

Resolve requirements

Due to the way resolve handles python and python scripts there are a few steps required steps needed to be done on any machine that will be using OpenPype with resolve.

Installing Resolve's own python 3.6 interpreter.

Resolve uses a hardcoded method to look for the python executable path. All of tho following paths are defined automatically by Python msi installer. We are using Python 3.6.2.

<Tabs groupId="platforms" defaultValue="win" values={[ {label: 'Windows', value: 'win'}, {label: 'Linux', value: 'linux'}, {label: 'Mac', value: 'mac'}, ]}>

%LOCALAPPDATA%\Programs\Python\Python36

/opt/Python/3.6/bin

~/Library/Python/3.6/bin

Installing PySide2 into python 3.6 for correct gui work

OpenPype is using its own window widget inside Resolve, for that reason PySide2 has to be installed into the python 3.6 (as explained above).

<Tabs groupId="platforms" defaultValue="win" values={[ {label: 'Windows', value: 'win'}, {label: 'Linux', value: 'linux'}, {label: 'Mac', value: 'mac'}, ]}>

paste to any terminal of your choice

%LOCALAPPDATA%\Programs\Python\Python36\python.exe -m pip install PySide2

paste to any terminal of your choice

/opt/Python/3.6/bin/python -m pip install PySide2

paste to any terminal of your choice

~/Library/Python/3.6/bin/python -m pip install PySide2

Set Resolve's Fusion settings for Python 3.6 interpereter

As it is shown in bellow picture you have to go to Fusion Tab and then in Fusion menu find Fusion Settings. Go to Fusion/Script and find Default Python Version and swith to Python 3.6

Create menu Create menu Create menu