code_junkie

Why do I receive an ImportError when running one of the CherryPy tutorials

Nov 11th, 2011
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. $ cd /Library/Python/2.5/site-packages/cherrypy/tutorial/
  2. $ python tut09_files.py
  3. Traceback (most recent call last):
  4. File "tut09_files.py", line 48, in <module>
  5. from cherrypy.lib import static
  6. ImportError: cannot import name static
  7.  
  8. import cherrypy
Add Comment
Please, Sign In to add comment