I am trying to setup my system for Django and Python online coruse. Here are the setup instructions: https://www.codingforentrepreneurs.com/blog/install-python-django-on-windows/.
I've had Python previosly installed and I have been using it with Pycharm, so I figured I can skip the first two steps on the instructions. However on step "3. Verify Python Installed in Powershell" my powershell says this on my systems language (here translated by myself, but not a good translation):
Python was not found. Install it from Microsoft store by executing it without arguments or remove this shortcut in Settings > Manage application performance tokens.
I think it means that I don't have Python on windows, even though I use it almost everyday with Pycharm. I also use Github straigth from Pycharm if that makes a difference.
I originaly installed Python and Pycharm by the instruction of this Youtube video https://www.youtube.com/watch?v=rfscVS0vtbw, which I followed blindly and I actually didin't have any idea what I was doing (still don't). I fear that if I reinstal Python (Steps 1 and 2) I will mess something up with my existing projects.
So does anyone have Idea why I can't see my Python version on the powershell?
Edit: The problem was that python was not on Path. Once I fixed that everything else went more or less smoothly.
($env:Path).Split(';')
to see your path values. if python is NOT in that list ... then that is the problem.python -v
from cmd instead of powershell? Trypython.exe -v
in powershell, and also tryc:\path\to\python.exe -v
to check for some misconfigured environment things.