-1

I'm fairly new to programming, and am trying to use pip to download pygame.

I've entered numerous commands into the terminal, but I always end up getting in response either;

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

or

'pip' is not recognized as an internal or external command,
operable program or batch file.

I'm completely lost and any help would be appreciated........

n2345
  • 1
  • 1
  • Welcome to Stack Overflow. In order to use pip, you need to have Python installed. Do you have Python installed? If so, is it in your path? – ewokx Aug 09 '23 at 09:34
  • It was a common error...Try re-installing by following proper instructions ...While re-installing don't forget to check the box `Add python to path` at the bottom. – Bhargav - Retarded Skills Aug 09 '23 at 09:34
  • I would recommend installing a package distribution/virtual environment management system like anaconda https://docs.anaconda.com/free/anaconda/install/, which comes with a Python installation and has useful tools for installing Python packages with or without the command line. – Matt Pitkin Aug 09 '23 at 09:37
  • If you're happy just working from the command line in a terminal then there is a ligher weight anaconda version called miniconda that you can install instead https://docs.conda.io/en/latest/miniconda.html. – Matt Pitkin Aug 09 '23 at 09:41
  • are you running the command in PowerShell? – Oran G. Utan Aug 09 '23 at 10:06

0 Answers0