Windows 8 (Python) 上的 Cherrypy 问题

Problems with Cherrypy on Windows 8 (Python)

我已经成功安装了 cherrypy,但是当我尝试导入它时,出现以下错误。我是一个新手,已经花了很多时间来尝试让它工作,所以我们将不胜感激任何帮助。

Traceback (most recent call last):
  File "unitconverter.py", line 1, in <module>
    import cherrypy
  File "c:\Python34\lib\site-packages\cherrypy-3.2.0-py3.4.egg\cherrypy\__init__
.py", line 82, in <module>
    from cherrypy import process
  File "c:\Python34\lib\site-packages\cherrypy-3.2.0-py3.4.egg\cherrypy\process\
__init__.py", line 14, in <module>
    from cherrypy.process import plugins, servers
  File "c:\Python34\lib\site-packages\cherrypy-3.2.0-py3.4.egg\cherrypy\process\
plugins.py", line 424, in <module>
    class PerpetualTimer(threading._Timer):
AttributeError: 'module' object has no attribute '_Timer'

来自 what I can see,这是该版本 CherryPy 的错误。你最好升级到更新的版本。