CherryPy è rotto? Ho appena configurarlo e ha cercato di utilizzare il dispatcher percorsi ma ha un errore di importazione, il mio codice è il seguente:Il route Dispatcher è rotto in CherryPy per Mac?
import cherrypy
mapper = cherrypy.dispatch.RoutesDispatcher()
L'errore è:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/jwesonga/environments/cherrypy/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/_cpdispatch.py", line 463, in __init__
import routes
ImportError: No module named routes
Sono su un Mac e Ho provato sia il 3.2.2 che il 3.0 usando virtualenv per quest'ultimo.
Scusa, non ho una soluzione, ma c'è una probabilità superiore al 99% che la risposta alla domanda "X è rotto?" o "È un bug in X?" è no". – JJJ