AttributeError: 'module' object has no attribute 'setdefaultencoding'

前端 未结 4 507
春和景丽
春和景丽 2020-11-28 13:23

I try to install xadmin (it\'s a django\'s plugin for use the backoffice with twitter\'s bootstrap). But when I run my project, I have the following error in my PyCharm term

4条回答
  •  广开言路
    2020-11-28 14:03

    In Python 2 Version You need to use this. But In Python 3 they already included it and no need to mention it explicitly. Just remove it or comment it down and you are good to go.

提交回复
热议问题