Iv’e tried using my folder that I made in school in my own pc but I can’t seem to start it as I am assuming that the path to my python3.9 in school and in my house is not the same place. I write these 2 commands:
.envScriptsactivate
python app.py
And then I get this back:
No Python at 'C:PythonPython39python.exe
I don’t understand much in this field because its new to me. If you need another file or something to help me just tell me and I will add it.
Thank you for the help.
2
Answers
First, I would make sure you have Python installed. To do this, at a command prompt, just type ‘python’ and see if you get a current version.
One 1 of 3 things will happen:
You’ll see this…meaning that IT IS installed.
Nothing will happen at all, because you don’t have it installed.
Windows will automatically open up the Windows Store so that you can download Python to your computer.
Once it is installed, you need to make sure you have Python set as the language in VS Code.
You can click there and the menu bar at the top will have a drop-down so that you can select Python.
But it just sounds like you need to have Python installed in the first place. But try those things and if that doesn’t work, I’ll follow up and help get you going.
Use the following methods to choose an interpreter.
Ctrl+Shift+P –>
Python:Select Interpreter
Choose the correct interpreter available