title: How to check version of python package if no __version__ variable is set
body: <p>I am using <code>pyodbc</code> and I want to know the version of it that I am using.
  Apparently I cannot use <code>pyodbc.__version__</code> because probably the variable is not set.</p>
  
  <p>How else can I figure out the version of the package? </p>