0

I've already installed python last version and pygame last version. When I check the pygame installation on MacTerminal it just looks like everything is installed, but then when I try ti import module pygame in VSCode or Eclipse, it shows me the ImportError. here's the picture with the terminals, the first one is the Mac Terminal and the second is the VScode terminal

  • Please examine the content of `sys.path` in both the console, and whatever IDE you're trying to use. This is what python uses to find modules. At a guess, I would say these IDEs are not using the environment setting `$PYTHONPATH`, and/or they have their own internal settings somehow. – Kingsley May 05 '20 at 22:51
  • Another thought: are these IDEs using the same python 3.8.2? Could they be using a python 2.7 that doesn't have the module installed? – Kingsley May 05 '20 at 22:54

0 Answers0