how to find out the version of a certain installed package

Christophe tiftof at gmail.com
Tue Sep 30 12:17:30 EDT 2008


Hi,

In a projecet I'm making using pycrypto, I need to find out the
current installed version of pycrypto. After looking around, I found
out that "pkg_resources.requires("pycrypto") will give me a string
containing the version number, but is this the only way to do it or
are there other ways?

thanks,

Christophe



More information about the Python-list mailing list