Запускаю команду:
django-admin.py makemessages
Ошибка:
....
./services/web/migrations/0025_auto_20170701_1737.py
./services/web/migrations/0026_auto_20170701_1819.py
./services/web/migrations/__init__.py
./services/web/models.py
./services/web/tests.py
./services/web/urls.py
./services/web/views.py
xgettext: ./env/lib/python3.6/site-packages/easy_thumbnails/migrations/0002_thumbnaildimensions.py:1: Unknown encoding "utf8". Proceeding with ASCII instead.
xgettext: ./env/lib/python3.6/site-packages/pip/_vendor/webencodings/__init__.py:1: Unknown encoding "utf8". Proceeding with ASCII instead.
xgettext: Non-ASCII string at ./env/lib/python3.6/site-packages/pip/_vendor/webencodings/__init__.py:64.
Please specify the source encoding through --from-code or through a comment
as specified in http://www.python.org/peps/pep-0263.html.
Пробовал в одном файле в начале файла указать:
# -*- encoding: utf-8 -*-
Как это можно пофиксить ?