Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What version of Pyramid do I have and what's the best way to update?

Tags:

python

pyramid

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?

like image 585
zakdances Avatar asked Jun 04 '12 21:06

zakdances


People also ask

How do you update pyramids?

Connect to Pyramid in the WiFi / Network Settings on your device. Visit pyramidsetup.com in your browser. Next, tap on Menu > Software Update (see image below) After 30 seconds the update should show.


1 Answers

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.

like image 134
madjar Avatar answered Nov 05 '22 05:11

madjar