Reputation: 23735
I'm using Pyramid and I'm wondering how I can check what version I'm currently using. Also, how can I update my Pyramid?
Upvotes: 9
Views: 3294
Reputation: 12961
To know which version of pyramid you have, you can run this in a python console :
>>> import pkg_resources
>>> pkg_resources.get_distribution("pyramid").version
To update, you could run pip install --upgrade pyramid
, but in order to update pyramid and all its dependencies, I advice you to replace your current virtualenv and replace it with a new one, with a fresh install of pyramid. The installation procedure in the documentation should help you if you are not sure about how to do that.
Upvotes: 19