Using different python for Krita scripter

I am looking to run krita scripter with pyenv python, is there a way to do that? I am on archlinux and installed krita as regular arch package, which makes it use system python, but most of my libraries are in pyenv, so it would be great if I could run scripts with pyenv python.