I can’t download pygame

Asked

Viewed 3,992 times

-1

Guys, I was trying to download the pygame by the pycharm but it keeps failing all the time, someone knows why? inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

someone could help me?

  • As you ask the error that appeared to you, have the version of Pip updated ? Confirm and/or update if necessary. In windows it would be something like python -m pip install --upgrade pip

2 answers

2

The error says you are typing the installation command into the wrong field. If you installed python in the default way (linking it to the environment variables)

Just open the CMD (Windows+R | CMD | [Enter]) and type:

Pip install pygame [Enter]

Ready, python itself will download/install in the correct directory

0

Since I don’t know what method you used, I’ll give you the best two, in my opinion:

Automatic method

  1. Use the shortcut Ctrl + Alt + S to enter the settings
  2. Go on Project: Nome_do_Projeto
  3. Click on *Project Interpreter
  4. Click on the button of + green
  5. Search for Pygame and click Install Package

inserir a descrição da imagem aqui

Manual Method

If it doesn’t work that way I suggest downloading and installing Pygame manually through of this link.

After installing check if the package is updated. (If there is a blue fledgling it will appear when you select the package name)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.