Home > other >  Can't call in pycharm pygame
Can't call in pycharm pygame

Time:09-17

Already installed pygame in python, and verify the installation success; But when used in pycharm shows "No module named pygame '; I really don't have pygame check the Settings of pycharm, installation package, but I also operate under matplotlib, according to the installation package is

CodePudding user response:

Pygame to install into the python interpreter pycharm you use

CodePudding user response:

File - in pycharm & gt; Settings - & gt; The Project - & gt; Project check your python Interpreter of real use environment

CodePudding user response:

I also encountered this problem, and then click on the project of the interpreter, find the PIP, under the latest version of the latest, and then in the interface, click install package, then the import in pycharm pygame this line of code is valid, you can try

CodePudding user response:

Find your project under setting editor: 1, the interpreter, click in the pop-up screen (+), 2, above the interface of the search pygame. After the search, click on the button below to package the install, will do

CodePudding user response:

reference 4 floor BeastClique response:
setting find your project editor: 1, the interpreter, click in the pop-up screen (+), 2, above the interface of the search pygame. After the search, click on the button below to package the install, we have to do is
already according to your tip operation success, thank you oh

CodePudding user response:

https://blog.csdn.net/hbu_pig/article/details/79984585

CodePudding user response:

Me too, installed after the game also reference not cheap, pycharm also no hint, anxious for me

CodePudding user response:

According to operation steps away,,, download is not successful or not, pycharm shows

CodePudding user response:

Please receive pygame to do
  • Related