Search code examples
pythondjangopycharm

Pycharm : Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings


I was trying to get Django installed onto my Pycharm.

In Terminal, I typed in

python -m pip install Django

When I pressed enter on the information,

It told me:

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

I already have Python installed and put it as the base interpreter for the file. Not sure why Pycharm wants me to install it from the Microsoft store???

Please help!


Solution

  • Either search for the exe und run it like {pathtoexe}/python.exe -m pip install Django or try python3instead of python. In addition to that you can check your path variables where you should find the actual command.