• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 592
  • Last Modified:

Installing pygame in Pycharm. There are no instructions. Help

Hi
I need to be able to install Pygame in Pycharm (4.0.5), but it seems Pycharm has come out with newer versions.
Pygame is no longer in 2.9, but 3.3

One example on Youtube suggested I re- install Python? Will this all automatically link up in pyCharm?
Last time it tried, the console installation instructions didn't seem to affect the behavior in pycharm.

What is the best way to get it working in Pycharm?
Thanks
0
beavoid
Asked:
beavoid
  • 14
  • 6
4 Solutions
 
☠ MASQ ☠Commented:
Last time you needed this info you were using MacOS so this YouTube is for MacOS and the latest iteration.
https://www.youtube.com/watch?v=eaVwp1-kQww

The process is really identical you just need to make sure that PyCharm is working and when you install PyGame you use the newest version of the interpreter.

If you don't have PyCharm installed yet JetBrains tutorial here works but isn't especially friendly if you're using the free Community Version
https://www.youtube.com/watch?v=5rSBPGGLkW0

If you've moved to Windows then Paul Baumgarten's tutorials are excellent
https://www.youtube.com/watch?v=zwY4dzvbBwE
0
 
beavoidAuthor Commented:
Thanks.
I am using MacOS.
That vid is nice, but it recommends the community edition.
I tried to follow it without it and it doesn't have pygame on the package installation list.
Is that what the community edition does, it includes more packages from the community?
0
 
beavoidAuthor Commented:
It's confusing.
The pygame packages that are there now are not "Pygame" like in the Youtube, but
They are "SimplePygUI"
and "pygameday"
and ""pygameoflife"
and "pygameSS"
and such
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
beavoidAuthor Commented:
Thanks
I asked a related question, because that video suggested I needed a different interpreter.

Here
0
 
beavoidAuthor Commented:
Thanks
Almost There. I used Jetbrains!
I can get to the final part, am using the correct interpreter, everything else, where I have to choose an available package to install,
but PyGame isn't in the package list in Pycharm.

Does that make any sense? I didn't remove it. How might I get Pygame into Pycharm's package list? How do Idle and Pycharm distinguish their resources? Thanks

The video is here
0
 
☠ MASQ ☠Commented:
No it doesn't make a lot of sense.
With Python 3.6 selected as the interpreter in PyCharm you should click the "+" button at the bottom of the screen, type PyGame into the search box and see Pygame and just over 2 dozen other PyGame packages.
Python 3.6, PyCharm, Config, Prefs, load Packages
What are you seeing?
0
 
beavoidAuthor Commented:
Yes
THANKS!
What should I do now?
0
 
☠ MASQ ☠Commented:
Just add PyGame to your updated PyCharm install as above  - that's it.
0
 
beavoidAuthor Commented:
Thanks
Looking closer at the Youtube's above

the woman's lesson needs Pycharm community edition. in the top left menu
Is that crucial?

What is the best way to change my current Python?

I have pycharm-community-2016.3.3.dmg in my downloads. I think that's what messed everything up last time, and I reinstalled Python 3.6 because I thought it had gotten to a worse version.

I think this page seems familiar, but it was too complicated here

Which is the undisputed best link to download the correct/recent community edition from?
So, I can give you all some rest from this personal catastrophe! j/k
0
 
beavoidAuthor Commented:
I have this Pygame install file

pygame-1.9.2pre-py2.6-macosx10.6.mpkg

Which is the most recent correct install file. Where can I find it ?

Thanks
0
 
☠ MASQ ☠Commented:
Pycharm Community Edition
Currently Pycharm-Community-2017.3.dmg
From https://www.jetbrains.com/pycharm/download/#section=mac

Then install latest PyGame through the Preferences option in PyCharm as shown in the video
You'll currently get v. 1.9.3 of PyGame this route

This assumes you have Python 3.x installed already
0
 
beavoidAuthor Commented:
Is the most recent pygame for Macintosh :

pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg 12MB  from Pygame.org downloads?

Thanks
0
 
☠ MASQ ☠Commented:
No v1.9.3 is current - see above - install through PyCharm

1.9.3 installed through PyCharm
0
 
beavoidAuthor Commented:
Thanks

Is shown in the video?
There is no video in that link?
URL?
0
 
beavoidAuthor Commented:
May I have a solid link to the most recent pygame .dmg download page?
Thanks
0
 
☠ MASQ ☠Commented:
There is no 1.9.3 dmg download, 1.9.3 is packaged as a .whl so you need pip installed to unpack it. That's why it's installed through Pycharm which takes all the hassle out of installing. The most recent .dmg is the one you listed from August 2009 which is built for Python 2.7.
0
 
beavoidAuthor Commented:
Thanks
What is a python wheel? Why haven't I heard that before?
So, I click the top most selection (Mac OS X ), download, and then open the file in Pycharm, how?
Do I DL the .whl or md5?

super!
0
 
beavoidAuthor Commented:
It seems that I have Python 3.3.3

The woman in one video uses 3.6.2. - Really!?
Has this been my entire problem? I cant imagine something as common as installing pygame is that incompatible?

Thanks
0
 
beavoidAuthor Commented:
Thanks,

One thing also,
My Pycharm, interpreter is Pycharm CE 2016. 3.3.3

The woman in one Pygame install YT has 3.6.2
My options in Available Packages does not include Pygame, everything else, but not pygame
I've wondered if this is possibly my entire problem, upgrade, .DMG incompatibilities?
Also, must I do anything specific to let the install know where my pygame must be installed in Pycharm, or does it always look in applications/pycharm
Thanks
0
 
beavoidAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 14
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now