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 terminal :
File "C:\Python34\lib\site-packages\xadmin\sites.py", line 10, in <module>
sys.setdefaultencoding("utf-8")
AttributeError: 'module' object has no attribute 'setdefaultencoding'
This is the extract of source code from sites.py in xadmin plugin :
import sys
from functools import update_wrapper
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.db.models.base import ModelBase
from django.views.decorators.cache import never_cache
from imp import reload
reload(sys)
sys.setdefaultencoding("utf-8")
The project is running with python 3.4 interpreter and Django 1.7.1. The xadmin's version is 0.5.0
What can I do ?