一个用到material包 的Django项目,在Windows上可以很流畅的运行,我用pip freeze 将项目迁移到了mac上,结果报错:
Invalid template library specified.
ImportError raised when trying to load
'material.admin.templatetags.material_admin':
cannot import name 'Layout'
Invalid template library specified.
ImportError raised when trying to load 'material.admin.templatetags.material_admin':
cannot import name 'Layout'
Google了很久,但都没有找到好的解决方案