[fix] Import error on python_version variable

`ImportError: cannot import name python_version` because of if?
Import now functional.