[FIX] read current Python executable

- read current Python executable instead of assuming it is "python"
[FIX] make Python 3 compatible