Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please assist me to install Cherrypy3.2 to work/run on Python3.3. I am using Ubuntu 13.04 and have Python3.3 installed already. I had downloaded Cherrypy3.2.2 and had tried to install it without any error messages noticed BUT when I try to import cherrypy I get an error message.

here's what I get.

aspire@aspire:~$ python3.3 -c "import cherrypy"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.3/dist-packages/CherryPy-3.2.2-py3.3.egg/cherrypy/", line 82, in <module>
    from cherrypy import process
  File "/usr/local/lib/python3.3/dist-packages/CherryPy-3.2.2-py3.3.egg/cherrypy/process/", line 14, in <module>
    from cherrypy.process import plugins, servers
  File "/usr/local/lib/python3.3/dist-packages/CherryPy-3.2.2-py3.3.egg/cherrypy/process/", line 424, in <module>
    class PerpetualTimer(threading._Timer):
AttributeError: 'module' object has no attribute '_Timer'
share|improve this question

Reportedly a bug with the upgrade of python from 3.2 to 3.3 where the _Timer module is renamed Timer.

Open "/usr/local/lib/python3.3/dist-packages/CherryPy-3.2.2-py3.3.egg/cherrypy/process/" in a text editor and replace _Timer with Timer on line 424.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.