# No settings.json

**URL:** <https://forum.codewithmosh.com/t/no-settings-json/7017>\
**Category:** Django\
**Created:** [August 26, 2021, 2:37pm UTC](https://forum.codewithmosh.com/t/no-settings-json/7017 "2021-08-26T14:37:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![a14743535](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@a14743535](https://forum.codewithmosh.com/u/a14743535)\
**Post date:** [August 26, 2021, 2:37pm UTC](https://forum.codewithmosh.com/t/no-settings-json/7017/1 "2021-08-26T14:37:02Z")

</div>

Hi there, I’m at video 6 of section 2 of Django part 1 (Using the Integrated Terminal in VSCode).  
After I entered the interpreter path, no .vscode directory didn’t show, nor did settings.json. Can anyone tell me what went wrong?

---

<div class="post-metadata">

**Author:** ![swapmeet25](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@swapmeet25](https://forum.codewithmosh.com/u/swapmeet25)\
**Post date:** [September 23, 2021, 2:49pm UTC](https://forum.codewithmosh.com/t/no-settings-json/7017/2 "2021-09-23T14:49:16Z")

</div>

We share the same issue. Did you ever find a solution? I noticed it’s about a month old so maybe you did.

I found a solution that worked for me. I’m assuming you’re using windows. I manually created the .vscode folder. Then the settings.json file. Manually typed in the python.pythonPath.: Pathway to my virtual server.

Then went to the vs code terminal and started the pipenv shell , then finally the python manage.py runserver … which started the development server and I could access it via the browser. Hope that helps.

---

<div class="post-metadata">

**Author:** ![annadema](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/annadema/32/83_2.png) [@annadema](https://forum.codewithmosh.com/u/annadema)\
**Post date:** [September 30, 2021, 4:01pm UTC](https://forum.codewithmosh.com/t/no-settings-json/7017/3 "2021-09-30T16:01:07Z")

</div>

I found a solution. Look here:

> [@Settings.json missing](https://forum.codewithmosh.com/t/settings-json-missing/7630):
>
> When Mosh asks to modify the Python interpreter to the one of the virtual environment, .vscode folder with settings.json inside is not created. This is because there is in course at the development team an experiment for removing ` the python.pythonPath. Reading a useful post about the issue under github I found this: “To opt out of the experiment, you can set “python.experiments.optOutFrom” to either the specific experiment or to ["All"] to opt out of all experiments.” I made this modifica…

---

<div class="post-metadata">

**Author:** ![XactEffect](https://avatars.discourse-cdn.com/v4/letter/x/b5a626/32.png) [@XactEffect](https://forum.codewithmosh.com/u/XactEffect)\
**Post date:** [October 10, 2021, 10:32am UTC](https://forum.codewithmosh.com/t/no-settings-json/7017/4 "2021-10-10T10:32:44Z")

</div>

Using Vscode …in an active virtual environment(using the command —py -m venv venv or py -m venv activated)aside “py” : python or python3 can be used… ensure the latest version of pip is install and also install django …run the command (django-admin startproject projectname)…this creates a folder containing the settings.py file amongst others.

Also search for vscode doc with django.

---

<div class="post-metadata">

**Author:** ![Daniel78852](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@Daniel78852](https://forum.codewithmosh.com/u/Daniel78852)\
**Post date:** [October 18, 2021, 9:52am UTC](https://forum.codewithmosh.com/t/no-settings-json/7017/5 "2021-10-18T09:52:14Z")

</div>

Did anyone find a solution. I tried the two mentioned but nothing came of it. I tried opting out of the python experiment, and I tried the second one. Nothing happiness. I created my own vscode folder and then a json file in it but I get an error message. Any solutions would be great.

![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/7/7794cfd1cc1f7d2af319c76d241b889184c0f0a4.png)

---

<div class="post-metadata">

**Author:** ![Daniel78852](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@Daniel78852](https://forum.codewithmosh.com/u/Daniel78852)\
**Post date:** [October 23, 2021, 5:19am UTC](https://forum.codewithmosh.com/t/no-settings-json/7017/6 "2021-10-23T05:19:33Z")

</div>

solved the issue. I took the the idea from another post. I went to “Preferences open settins .(JSON)” I then typed in ““python.experiments.enabled”: false,” on the first line and I was avle to get the vs.Code file.

---

<div class="post-metadata">

**Author:** ![noblec23](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@noblec23](https://forum.codewithmosh.com/u/noblec23)\
**Post date:** [January 2, 2022, 10:35pm UTC](https://forum.codewithmosh.com/t/no-settings-json/7017/7 "2022-01-02T22:35:05Z")

</div>

I’m running into this issue as well and can’t seem to do anything about it. In vscode, I’ve gone to file → preferences → settings → [JSON]. this opens a “settings.json” file (shown as “C: \> … \> python.defaultinterpreterPath” at the top) with:  
{

```
"security.workspace.trust.untrustedFiles": "open",

"python.defaultInterpreterPath": "C:\\path\\python.exe"

```

}  
I’ve seen that I need to add ““python.experiments.enabled”: false” inside the curly brackets, which I did (with a comma after the preceding line of code so it’s a correctly-formatted list). I then saved this and it didn’t do anything.

I’m not sure what else to do besides creating a “.vscode” folder under the top “storefront” directory and a “settings.json” file within that, so it matches Mosh’s code. Any advice would be appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![noblec23](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@noblec23](https://forum.codewithmosh.com/u/noblec23)\
**Post date:** [January 2, 2022, 10:40pm UTC](https://forum.codewithmosh.com/t/no-settings-json/7017/8 "2022-01-02T22:40:36Z")

</div>

I should also add that the {  
“python.pythonPath”: “C:\path.virtualenvs\storefront-qyXmRXBf\Scripts\python.exe”  
}

shows an error as “code language not supported or defined” despite the “python.pythonPath” being auto-filled.

---

<div class="post-metadata">

**Author:** ![codedbywells](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@codedbywells](https://forum.codewithmosh.com/u/codedbywells)\
**Post date:** [April 17, 2023, 2:50am UTC](https://forum.codewithmosh.com/t/no-settings-json/7017/9 "2023-04-17T02:50:26Z")

</div>

Did you ever figure this out I am running into th same issue

---

<div class="post-metadata">

**Author:** ![ajoer](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@ajoer](https://forum.codewithmosh.com/u/ajoer)\
**Post date:** [September 11, 2023, 1:13pm UTC](https://forum.codewithmosh.com/t/no-settings-json/7017/10 "2023-09-11T13:13:54Z")

</div>

It seems they’ve deprecated specifying the Python path in settings.json: [Setting descriptions · microsoft/vscode-python Wiki · GitHub](https://github.com/microsoft/vscode-python/wiki/Setting-descriptions#pythondefaultinterpreterpath)  
If you run your project, you should see the right Python Interpreter path at the bottom of the terminal screen.

If you want to add the .vscode directory, so your project looks like in the videos:

- Click the Settings symbol in the lower left corner of VS
- Click “workspace settings”
- Change some value, e.g. the font size.  
This will create the .vscode directory in your project, and add the workspace specific setting (font size) to the newly created settings.json file.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![MarcinMN](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@MarcinMN](https://forum.codewithmosh.com/u/MarcinMN)\
**Post date:** [December 28, 2024, 6:44pm UTC](https://forum.codewithmosh.com/t/no-settings-json/7017/11 "2024-12-28T18:44:14Z")

</div>

I know this is an old thread, but I was just running through Mosh’s one hour Django video on YouTube and I noticed the same thing. No .vscode folder. I also couldn’t find the interpreter path listed anywhere in the files that were present. However, when I continued following along in the video by opening the terminal in VS code and running the server, it does work. So I guess I won’t worry about the missing .vscode folder for now. I’ll assume things have changed since this video was made.

I just wanted to post this in case anyone else is searching for answers. Your server should work normally despite there not being a visible settings.json file.

UPDATE: When the video gets to the debugging lesson, it has me create a launch.json file. At that point, the .vscode folder is created. It still doesn’t have a settings.json file, but the vscode folder was at least created.
