Checking PrivacyIdea version installed on system

Hi, i have privacyidea installed on my centos installation.

I need to upgrade my installation, but i need to check exactly my privacyidea version.

Which command can i do for that?

Thanks,
Ale.

If it is a pip installation you can do

pip freeze

Thanks corneliux,
i have done cd /opt/privacyidea, source bin/activate
and then pip freeze.

Thanks a lot,
Ale.