Reputation: 723
I can not import Pygame in pycharm. I’ve looked at videos and other posts. I have it installed, both on the PyCharm interpreter and on my system. I get an error that says no module named Pygame, module Pygame does not have an init attribute.
Upvotes: 0
Views: 132
Reputation: 105
Go to File > Settings > Double Click on Project: (Your project name) > Project Interpreter > The + Button on the right side of the window. Also make sure you typed import pygame
on the first line of the program.
Upvotes: 1