django.core.exceptions.ImproperlyConfigured: Requested setting USE_I18N, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. code example
Example: django.core.exceptions.ImproperlyConfigured: Requested setting ROOT_URLCONF, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
python3 manage.py <command>
export PYTHONPATH=/home/YOUR_NAME/project_path
export DJANGO_SETTINGS_MODULE=my_project.settings
django-admin <command>