I was learning Python on Pycharm but I switched to VSCode for this course. Unfortunately, I can not use my VSCode Terminal. I installed Python 3.9 properly and then installed VSCode. I am able to use VSCode output window with code runner but I cannot use my terminal window so I can’t get any input since code runner lets read only.
I am on MacOS 10.15.7 Catalina.
Here is my problem:
zsh: command not found: app.py
Thank you for your help, Sam. It didn’t work for me I still get an error when I type python3 app.py whether I type $ sign or not; However, whatever I did, unfortunately I don’t really know what I did, my terminal window works when I run my program.
I’m on Mac.
For your question: Yes and No. My problem has solved for some cases like I can use my terminal and get input for most of the cases but I still get command not found error often when I go through videos.
zsh: command not found: pipenv
If you are coding in mac, on the terminal type ‘python3’ (without the ‘’) and you should see the version you have installed. If no version appears, you have to uninstall Python3 and install but ADDING PYTHON TO THE PATH! it’s on the first screen of the installer.
Hi all - I have another problem when installing Python. I got it installed, I get the version type when I type “python3” however, when I run the code I get this message which I suppose should not be there. Can anyone please help?
I’m sort of facing the same issue - I can run my Python code by clicking on Run followed by “Run Python file in Terminal”. However, I can’t run the code using “Run Code”. I tried changing the Python version in settings.json, but no luck. Does anyone have any advice? I’m attaching screenshots for anyone who sees this.