About 45,000 results
Open links in new tab
  1. python - ImportError: No module named 'pygame' - Stack Overflow

    Aug 19, 2013 · 37 go to python/scripts folder, open a command window to this path, type the following: C:\python34\scripts> python -m pip install pygame To test it, open python IDE and …

  2. python - Can not import Pygame - Stack Overflow

    The installer I'm using may be for 32 bit, which wouldn't be compatible with my 64 bit installation of Python, but I don't know how to tell and if so is there even a 64 bit version of PyGame for 64 …

  3. How to import pygame in visual studio code? - Stack Overflow

    Jan 26, 2019 · 3 I use visual studio code for coding (python) and now I have to write a program with pygame for my project and I can't import pygame in visual studio code (I can import it with …

  4. python - Instalando e importando o módulo Pygame no VSCode

    May 13, 2020 · Você deve instalar o pacote via terminal e não no IDLE. Abra o terminal do seu sistema e digite o que você estava tentando: python -m pip install pygame Se diferentes …

  5. python - ModuleNotFoundError: No module named 'pgzrun' when …

    Jun 22, 2020 · 4 Got to python/scripts path and try to uninstall it with python -m pip uninstall pygame then install it with python -m pip install pygame --user When installing a python …

  6. python - Import "pygame" could not be resolved Pylance ...

    Jun 20, 2021 · Step 1 (Matching Version) Click the correct directory path (matching the one in which Pygame is currently installed) You may also edit the default import path from the Python …

  7. python - Pygame error: 'pygame' has no attribute 'init ... - Stack …

    Just rename your file from pygame.py to myTestGame.py for example; because you're importing the same file when you use import pygame !

  8. How to have an image appear in python/pygame - Stack Overflow

    Jan 7, 2012 · I am trying to learn to make a basic game using pygame. I want to import and display an image in .png format. so far my attempt has been: import pygame from …

  9. Import "pygame" could not be resolved Pylance - Stack Overflow

    Aug 15, 2021 · The source code of Python is stored in py_ SRC directory, but when looking for dependencies, the pylance plug-in of vscode takes the currently open directory as the search …

  10. python - Importing Pygame, ModuleNotFoundError: No module …

    Jun 13, 2020 · I’m having trouble importing the Pygame module. I installed pygame using the following command in the terminal: pip install pygame When I enter import pygame and run …