Error: This script should be run from the Django SVN tree or your project or app tree. If you did indeed run it from the SVN checkout or your project or application, maybe you are just missing the conf/locale (in the django tree) or locale (for project and application) directory? It is not created automatically, you have to create it by hand if you want to enable i18n for your project or application.
解决方式:建个locale目录
Error: errors happened while running xgettext on manage.py
/bin/sh: xgettext: not found
解决方式:sudo apt-get install gettext