0

I've installed pygame with pip3, etc, and from the pygame website direct, but it still doesn't import and I get the no module error in my IDE and in IDLE.

But it's installed here:

mitchreed@MacBook-Pro-2 ~ % python3.8 -m pip install pygame

Requirement already satisfied: pygame in ./.local/lib/python3.8/site-packages (2.0.0.dev6)

mitchreed@MacBook-Pro-2 ~ % 
martineau
  • 112,593
  • 23
  • 157
  • 280
  • Maybe it's just that your IDE and IDLE don't know it's installed. Try running a script that does nothing but `import pygame` directly from the terminal. – martineau Aug 13 '20 at 18:00
  • 1
    maybe idle uses a different python internally? If you check all settings/options, maybe you'll see a clue there, for instance a "python path". You can then compare by writing `which python` in a separate terminal window – Pac0 Aug 13 '20 at 18:12

0 Answers0