Hi all I am working through the Computer Science career path and have gotten to point where I am instructed to run a simple python program through Git Bash.
Here is the link to the article with all the steps:
I follow the steps as outlined in that I created a very simple python program in VSCode. Saved it in folder (not desktop as suggested in the article). I installed python and tired to run python through Git bash by typing “python” and hitting enter (as instructed). Git bash did not return any error or indicate the command was completed, instead there was just an empty line with no “$”.
To make certain I could not run python through git bash I navigated to the directory where I saved my python program (using a “cd” command) and attempted to run the program but received the following error (refer to screenshot).
Screenshot shows my commands to navigate to the directory where I saved my python program along with a screen shot of my file explorer to show I navigated to the correct directory.
I did some googling and it seems like there is some issue with bash file/profile. However, I am new to this and do not quite understand what a .bash profile is or what the appropriate steps are to troubleshoot the issue.