I'm trying to run some basic scripts on Linux (Debian), however no python can be found.

davinci resolve python

Both Python 2 and 3 are present on the system.

$ python -V
Python 2.7.18
$ python3 -V
Python 3.8.5

1 Answer 1


Based on strace is seems that fuscript binary searches for libpython2.7.so and libpython3.6.so

$ /opt/resolve/libs/Fusion/fuscript -l py3

DaVinci Resolve Script Interpreter
Copyright (C) 2005 - 2020 Blackmagic Design Pty. Ltd.

ERROR: Language 'py3' is not available.

E.g. on Debian based systems this could be installed, if you're lucky and the exact version is available for your distribution.

sudo apt install libpython3.6

The binary looks into several paths one of them is /usr/local/lib/libpython3.6.so. According to documentation this could be configured by PYTHONPATH env variable. However it doesn't seem to have any effect.

Using pyenv any Python version can be installed (we need shared libraries - *.so files):

env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.6.11

then create a symlink:

sudo ln -s $HOME/.pyenv/versions/3.6.11/lib/python3.6 /usr/local/lib/python3.6
sudo ln -s $HOME/.pyenv/versions/3.6.11/lib/libpython3.so /usr/local/lib/libpython3.6.so

Finally console should be working (Resolve will need a restart):

$ /opt/resolve/libs/Fusion/fuscript -l py3 -i

DaVinci Resolve Script Interpreter
Copyright (C) 2005 - 2020 Blackmagic Design Pty. Ltd.

Cannot read termcap database;
using dumb terminal settings.
  • How would this work on a Mac?
    – raarts
    Mar 18, 2021 at 22:34
  • It should work the same way, just use brew install pyenv. See pyenv documentation.
    – Tombart
    Mar 22, 2021 at 8:20
  • Is it possible with PYTHONHOME variable? I have found this post from bmd staff: forum.blackmagicdesign.com/…
    – Ashark
    Feb 7, 2022 at 0:20
  • @Tombart how to list the paths in which dr looks for the python3.6?
    – Ashark
    Feb 7, 2022 at 0:51
  • PYTHONPATH in documentation is said in context of launching the python script located not in expected standard direcrories. So it looks like not ralated to path itself for python3.6.
    – Ashark
    Feb 7, 2022 at 1:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.