Mosh talks about the command that is executed to run the program and highlights “python -u”
He then directs me to click on Code -> Preferences -> Settings. These all work fine. He then describes a “…” for me to click on. The “…” does not exist for me. He then clicks on open settings.json.
What I did was I pressed cmd shift p, then searched for json, then I clicked on open user settings, the after than, go to bottom of the user settings, and to the right of true, type a “,” then enter, and then do “” and type code-runner.executorMap, then change the python to python3
hi, so i have the same Problem and i dont know what do do anymore. Will there no updated Video how to change that python -U with the new Version of Visual Studio code? All these answers here do not help me going past that lesson 9 or can i just move on without changing python- U to python 3 ? Or can someone make a short Video how to do it ?
In order to change the settings, you need to add code-runner.executorMap to your personal settings.json file.
I made a step-by-step screenshot tutorial that I think is pretty straight forward if you’re on OSX. I’m not sure if it directly translates to Windows 10.
I’m brand new to all of this myself but if you have any questions, I might be able to figure it out.
It just looks like you have some formatting (for lack of a better term?) errors or something like that in yours, but I could be very wrong about that. Do you mind posting a screen shot of your entire settings.json file?
I actually dont know how to get to these settings on the screenshot because i reinstalled code visual studio and also the newest python version 3.9.0 and now when i go to the settings i just see this empty field
i use windows. so this may not applicable for mac users:
click the setting icon or press ctrl+p
in the search bar that you see(no need to worry about the three dots), type “coderunner:executormap”
you will see it below there, in underlined form, click that.
I cant install pylinter… i never get the little box in the bottom right to pop up asking if you want to install… I mistakenly clicked “do not show again” before I realized he wanted me to install that…