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 OverflowWell, 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?
python - I am trying to install pygame using pycharm terminal but I get this error - Stack Overflow
Pygame problem plz
Pygame using pycharm IDE?
Required help please
Videos
» pip install pygame