Well, you don't have to download it for PyCharm here. You probably know how it checks your code. Through the interpreter! You don't need to use complex command lines or anything like that. You need to is:
Download the appropriate interpreter with PyGame included
Open your PyCharm IDE (Make sure it is up to date)
Go to
FilePress
Settings(Or Ctrl + Alt + S)Double click on the option that looks like
Project: Name_of_ProjectClick on
Project InterpreterChoose the interpreter you want to use that includes PyGame as a module
Save your options
And you are ready to go! Here is an alternate (I have never done this, please try to test it)
- Add PyGame in the same folder as your PyCharm file (Your PyCharm stuff is always in a specific file placed by you during installation/upgrade) Please consider putting your PyCharm stuff inside a folder for easy access.
I hope this helps you!
Answer from Anthony Pham on Stack OverflowPygame using pycharm IDE?
python 2.7 - How can I install Pygame to Pycharm? - Stack Overflow
PyGame
python - What can I do to install Pygame? - Stack Overflow
Why does PyCharm say 'No module named pygame' even after installation?
Does Pygame work with PyCharm Community Edition?
How do I check if Pygame is installed correctly in PyCharm?
Videos
Well, you don't have to download it for PyCharm here. You probably know how it checks your code. Through the interpreter! You don't need to use complex command lines or anything like that. You need to is:
Download the appropriate interpreter with PyGame included
Open your PyCharm IDE (Make sure it is up to date)
Go to
FilePress
Settings(Or Ctrl + Alt + S)Double click on the option that looks like
Project: Name_of_ProjectClick on
Project InterpreterChoose the interpreter you want to use that includes PyGame as a module
Save your options
And you are ready to go! Here is an alternate (I have never done this, please try to test it)
- Add PyGame in the same folder as your PyCharm file (Your PyCharm stuff is always in a specific file placed by you during installation/upgrade) Please consider putting your PyCharm stuff inside a folder for easy access.
I hope this helps you!
For PyCharm 2017 do the following:
- File - Settings
- Double click on your project name
- Select Project Interpreter
- Click on green + button on the right side of the window
- Type Pygame in search window
- Click Install package.
Not I'm saying that the answers above won't work, but it might be frustrating to a newbie to do command line magic.
I want to use pycharm to program some with pygame. Are there any gotchas that I would need to be aware of? Will it work and will it be able to run the pygame visuals? I am assuming it will work, and wondering how to setup pycharm to use pygame libraries/code?
My friend just showed me what I need to do. Apparently I just need to install it from the Pygame site's installer. Mystery solved.
I will assume you already have an interpreter for PyCharm. To be able to let PyCharm recognize PyGame, you will need to have download an interpreter that has PyGame installed with it. There is no other way. Maybe go to Google and find the right interpreter that has PyGame included within it. I hope this helps you!
I'm currently trying to import PyGame into PyCharm. Everything I tried didn't work. Could someone please explain how to do it? (MacOS X Catalina, PyCharm 2020.1)
How to install pygame on PyCharm?
$ pip install pygame in terminal doesn't work, $ pip install pygame-ce - too
My language is RussianBasicaly i tried put command into terminal but it writes: " The name "pip" is not recognized as the name of a cmdlet, function, script file, or executable program. Check the spelling of the name, as well as the presence and correctness of the path, after then try again. "
I ran “pip install pygame” through command prompt and it was successful, however when I tried installing pygame into PyCharm through the Settings > Project Interpreter > + and clicked install package on pygame, it fails and says “EOF when reading a line”.
Does anyone know how to fix this so I can install pygame into PyCharm?