How to get CherryPy version
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
Python 3 syntax:
python -c "import cherrypy;print(cherrypy.__version__)"