If there is only a version for python 3 (which you should use), to convert to python 2.7 would be a manual operation.
Differences between 3.6 and 3.4 are not great and should be relatively easy to convert.
I'd install, try to run and fix error as encountered
Differences between 3.6 and 3.4 are not great and should be relatively easy to convert.
I'd install, try to run and fix error as encountered