# Error Code on VS Code

**URL:** <https://forum.djangoproject.com/t/error-code-on-vs-code/10788>\
**Category:** Using Django\
**Created:** [December 3, 2021, 4:26am UTC](https://forum.djangoproject.com/t/error-code-on-vs-code/10788 "2021-12-03T04:26:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kwiklearner99](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kwiklearner99/32/6529_2.png) [@Kwiklearner99](https://forum.djangoproject.com/u/Kwiklearner99)\
**Post date:** [December 3, 2021, 4:26am UTC](https://forum.djangoproject.com/t/error-code-on-vs-code/10788/1 "2021-12-03T04:26:17Z")

</div>

Note that only Django core commands are listed as settings are not properly configured (error: Requested setting INSTALLED\_APPS, but settings are not configured. You must either define the environment variable DJANGO\_SETTINGS\_MODULE or call settings.configure() before accessing settings.).

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [December 3, 2021, 4:35am UTC](https://forum.djangoproject.com/t/error-code-on-vs-code/10788/2 "2021-12-03T04:35:27Z")

</div>

This appears to be only part of a description of an issue you might be having? If you’re requesting help from the members here on the forum, please provide a more complete description of what you’re trying to do, and what you’ve done up to this point that is giving you an error. Since you’re making a reference to VS Code, it will help if you describe the environment you’re working with (Linux? Mac? Windows?) and how you’ve got your environment set up to work with Django.

---

<div class="post-metadata">

**Author:** ![Kwiklearner99](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kwiklearner99/32/6529_2.png) [@Kwiklearner99](https://forum.djangoproject.com/u/Kwiklearner99)\
**Post date:** [December 3, 2021, 4:43am UTC](https://forum.djangoproject.com/t/error-code-on-vs-code/10788/3 "2021-12-03T04:43:01Z")

</div>

I am on a MAC, when I tried to run my terminal this is the error code that appeared.

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [December 3, 2021, 5:25am UTC](https://forum.djangoproject.com/t/error-code-on-vs-code/10788/4 "2021-12-03T05:25:05Z")

</div>

Please provide more details.

What do you have set up and configured so far? How have you installed Django? Do you have a virtual environment configured?

Are you working from a published tutorial?

> [@Kwiklearner99](#):
>
> when I tried to run my terminal this is the error code that appeared.

What do you mean by this? What specifically did you do that generated this message?

I’m sorry about all the questions, but they’re necessary because of all the different ways things can be installed and configured. Unless you provide us with a lot of specific details about exactly what’s going on, we’re not going to begin to know how to help.
