Forums

web2py - can't access admin of deployed app <type 'exceptions.ImportError'> No module named _compat

Hi all, i have built a web app on web2py. It has been deployed, I can't access the admin area. I get this message <type 'exceptions.ImportError'> No module named _compat

Can anyone help?

Thanks

matt

I've not seen that before. this post in the web2py forums suggests deleting all your .pyc files, that might be worth a try?

From a bash console:

find ~/web2py -name '*.pyc' -delete

and then reload your web app?

I have run the "find ~/web2py -name '*.pyc' -delete " command but I still get the same error.

hi there, can you paste the full error you're seeing?