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.
Asked
Active
Viewed 26 times
0

Diana Crisan
- 29
- 2
-
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