I couldn't specify explicitly which python for it to use.
So, I ran it in bash
environment with following command:
$ your/python/path /path/to/your/python/script.py
And make sure first line of your python program contains the path to the python environment you wish to use. Eg:
#! /usr/local/bin/python