Python Forum

Full Version: Pygame*import pygame ImportError: No module named pygame
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
my question here: So I'm new, and I wanted to make my first game following a tutorial, I've downloaded pygame and everything as instructed, but now when I want to import the module in "Atom" then there is an ImportError, I can't figure out why, because when I run "python3" in the terminal(Mac) and "import pygame" the its just fine .. if there is someone who know the solution to my problem, that would be really great.

my code here
Atom can't run python by default. If you installed a plugin to run python through the editor, then make sure the plugin is doing the same thing you would if you were at the terminal. ie: open up the plugin settings, and make sure it's "python3" and not just "python".