Record pygame not add on pycharm, a download error problem

How to add pygame to pycharm project

Install python in windows,

Under this premise download pygame added to the windows (as I have already installed)

pip install pygame
Requirement already satisfied: pygame in d:\py3.8\lib\site-packages (1.9.6)

 

 Pygame find installation directory

 

 These two documents found

 

 Copy the two files to this path pycharm project

 

 Such pygame in this project is ready for use, pycharm automatically load pygame ,, you can manually add the following in pycharm has been with me here

See Ctrl + mouse wheel zoom to see

 

 Search pygame directly install ,, run the project

 

 Own record

 

Guess you like

Origin www.cnblogs.com/5444de/p/12515951.html