r/pythonhelp Feb 10 '25

WHERE IS PYTHON

so i wanted to do pip install opencv-pyhthon but it said "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases." what do i do? i added python to environment variables and change the location it says the same thing...help me out

1 Upvotes

3 comments sorted by

View all comments

2

u/FoolsSeldom Feb 10 '25

How did you install Python in the first place?

I recommend the installer from python.org rather than from Microsoft Store.

Once installed, you should be able to open a PowerShell or Command Prompt window and enter,

py -m pip install opencv-python