I'm very new to CherryPy. I want to know which CherryPy version is installed in my machine. How to get CherryPy version in terminal?
Thank you for educate me.
I'm very new to CherryPy. I want to know which CherryPy version is installed in my machine. How to get CherryPy version in terminal?
Thank you for educate me.
python -c "import cherrypy;print cherrypy.__version__"
python3 -c "import cherrypy; print (cherrypy.__version__)"
–
Brooder Python 3 syntax:
python -c "import cherrypy;print(cherrypy.__version__)"
In ubuntu, you just need to check the package version:
apt-cache policy python-cherrypy3
For example, in my system:
python-cherrypy3:
Installed: 3.1.2-1
Candidate: 3.1.2-1
Version table:
*** 3.1.2-1 0
500 http://archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages
100 /var/lib/dpkg/status
is
dpkg -l | grep -i cherrypy
what you are looking for?
© 2022 - 2024 — McMap. All rights reserved.