Avoid chicken-and-egg problem

Importing the module to find the version can be a problem
when not all the dependencies are installed yet.