I encountered this problem when I copied my django project along with (cherrypy's) wsgiserver and started it.
To solve this issue, I needed to remove wsgiserver.pyc, and re-run the program. Just like that.
So, it is a good idea to clean all the *.pyc's, when moving/copying codes in a different computer, and let python recreated them all.
No comments:
Post a Comment