Can not import copy_reg

后端 未结 1 1001
眼角桃花
眼角桃花 2021-01-23 04:32

I am hosting my Web2py app on PythonAnyware and have an issue importing copy_reg which web2py apparently needs. In previous versions this was no issue.

The trace back is

相关标签:
1条回答
  • 2021-01-23 04:58

    For future reference:

    Most often you should clear the cache and sessions. Use the appadmin interface to have a gui for this. This solved the issue for me more than once.

    Sessions are pickled files which might lead to these problems. For example if you synchronize between different platforms, python versions and maybe sometimes even between upgrades on web2py (though i'm not certain on the latter).

    0 讨论(0)
提交回复
热议问题