Download the Pygame WHL file for installation in the tutorial "Python programming from Getting started to practice"
in the cmd window import pygame prompt error-free, in the Idel program can also run normally,
but pycharm error import pygame
modulenotfounderror:no module named ' Pygame '
Select items in Project interpreter settings and green plus sign on right, add Pygame but prompt fails
---------------------------------------------------------------------------------------
I have already solved ~
install with Cmd again, prompt is installed but the path is not in Pycharm but it is a path that you do not know.
requirement already satisfied:pygame in C:\USERS\ADMINISTRATOR\APPDATA\LOCAL\PR
ograms\python\python37-32\lib\site-packages (1.9.3)
manually to this path to the site-packages in the Pygame copy to Pycharm project path under the site-packages can be ~
Pycharm inside the installation feeling a lot of problems and problems detail also can not understand.
Reproduced in: https://www.52pojie.cn/forum.php?mod=viewthread&tid=737089&extra=page%3D1&page=1
[Python] After installing PIP, Pygame, still import pygame error