Getting installed version

Cecil Westerhof Cecil at decebal.nl
Fri Jul 20 02:04:33 EDT 2018


I can get the installed version of a package with:
    pip2 show cryptography | awk '/^Version: / { print $2 }'

But I was wondering if there is a better way.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



More information about the Python-list mailing list