see this for how we solved it on a Mac
may be it's similar on linux and you need a direct call to python3