Installation of old Cherrpy version

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Installation of old Cherrpy version

awais umar

i am trying to install Lagarto Swap on my Raspbian Stretch OS but i am facing the error as below:
pi@raspberrypi:~/Downloads/python_tools-3.1.3/lagarto $ python
lagarto version 2.4 (Jan 28, 2015)
Running lagarto-swap
Traceback (most recent call last):
File "lagarto-swap/", line 31, in <module>
from swapmanager import SwapManager
File "/home/pi/Downloads/python_tools-3.1.3/lagarto/lagarto-swap/", line 46, in <module>
from lagartocomms import LagartoProcess
File "/home/pi/Downloads/python_tools-3.1.3/lagarto/lagarto/", line 28, in <module>
from lagartohttp import LagartoHttpServer
File "/home/pi/Downloads/python_tools-3.1.3/lagarto/lagarto/", line 31, in <module>
import cherrypy
File "/usr/local/lib/python2.7/dist-packages/CherryPy-18.0.1-py2.7.egg/cherrypy/", line 66, in <module>
from ._cperror import (
File "/usr/local/lib/python2.7/dist-packages/CherryPy-18.0.1-py2.7.egg/cherrypy/", line 122, in <module>
import urllib.parse
ImportError: No module named parse

Then i installed python 3.5 version and still got the same error.
now i am trying to install the older version of Cherrypy and downloaded the file in my downloads folder and then instead of "PIP" i used:
python command in my Lx terminal but i am getting these errors:

pi@raspberrypi:~/Downloads/cherrypy-16.0.0 $ python
/usr/lib/python2.7/distutils/ UserWarning: Unknown distribution option: 'project_urls'
Traceback (most recent call last):
File "", line 141, in <module>
File "", line 137, in main
File "/usr/lib/python2.7/distutils/", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/", line 320, in __init__
_Distribution.__init__(self, attrs)
File "/usr/lib/python2.7/distutils/", line 287, in __init__
File "/usr/lib/python2.7/dist-packages/setuptools/", line 387, in finalize_options
ep.load()(self,, value)
File "/home/pi/Downloads/cherrypy-16.0.0/.eggs/setuptools_scm-3.1.0-py2.7.egg/setuptools_scm/", line 23, in version_keyword
File "/home/pi/Downloads/cherrypy-16.0.0/.eggs/setuptools_scm-3.1.0-py2.7.egg/setuptools_scm/", line 142, in get_version
File "/home/pi/Downloads/cherrypy-16.0.0/.eggs/setuptools_scm-3.1.0-py2.7.egg/setuptools_scm/", line 111, in _do_parse
LookupError: setuptools-scm was unable to detect version for '/home/pi/Downloads/cherrypy-16.0.0'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of use git+

i am totally new to raspbian and Panstamp and facing these errors.
please forgive me if i am doing silly mistakes ,thanks in advance.

i did install new version of python and uninstalled the older version but still i see python 2.7 everywhere in my above errors. dont know why

You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at
For more options, visit