Avatar of James Hancock
James Hancock
Flag for United States of America asked on

Install pygame on Mac OS X- Why are there new current instructions?

Hi
In installing pygame on Mac OS 10.9.5, on the install instructions page here

Is that correct? There are new commands. For OS X, Is this a list of commands, or an unzip?

What is
~/.bash_profile:
?

Where do I type all those commands in? install . . . a terminal?
I thought this wasn't this complicated.. Where do I specify my .zip install file's location? Where must it install to? The Python 3.3.3 root folder? Must I forget the install zip and rely on the terminal commands?

Must I just cut and paste all those commands?
I don't see how it gets the correct install file for my comp, or knows where to install to, or how to link to IDLE
Thanks
Mac OS XPythonGame Programming

Avatar of undefined
Last Comment
James Hancock

8/22/2022 - Mon
serialband

Yes, all the commands form that page should be typed in terminal.

If you want an easier way, you could install the HomeBrew package manager from http://brew.sh and use the brew command to install pygame.

Install homebrew (you only have to do this once):
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install pygame after homebrew
brew install homebrew/python/pygame

That should get and install all the necessary dependencies along with pygame.  Afterwards, you should just update it once in a while:
brew upgrade
brew update
James Hancock

ASKER
Thanks
This is not a true comment, it infuriates me when questions that aren't solved get neglected, when I wrote it last night.
James Hancock

ASKER
Mods.
What does neglected mean? Why does it happen? I wrote his question last night and it is already neglected?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
serialband

By toggling it as neglected, the mods are trying to get more volunteers to answer the question by giving them more points when their answer is selected as the solution to your question.  It's for the people that care about points.  It doesn't change the pertinence of your question.
serialband

Have you tried entering the commands in your terminal.app.
James Hancock

ASKER
Thanks
Doing well

On

Install XQuartz: http://xquartz.macosforge.org/landing/

It claims there is no such file or directory

"Install: XQuartz:: No such file or directory"

Everything prior to that seems to initiate install activity

Last login: Fri Apr  1 00:04:31 on ttys000
Jamess-MacBook-Pro:~ jameshancock$ Install XQuartz: http://xquartz.macosforge.org/landing/
Install: XQuartz:: No such file or directory
Jamess-MacBook-Pro:~ jameshancock$ xcode-select --install
xcode-select: note: install requested for command line developer tools
Jamess-MacBook-Pro:~ jameshancock$ xcode-select --install
xcode-select: note: install requested for command line developer tools
Jamess-MacBook-Pro:~ jameshancock$ Install XQuartz: http://xquartz.macosforge.org/landing/
Install: XQuartz:: No such file or directory
Jamess-MacBook-Pro:~ jameshancock$ Install XQuartz: http://xquartz.macosforge.org/landing/
Install: XQuartz:: No such file or directory
Jamess-MacBook-Pro:~ jameshancock$ Install XQuartz: http://xquartz.macosforge.org/landing/
Install: XQuartz:: No such file or directory
Jamess-MacBook-Pro:~ jameshancock$ 

Open in new window


What might be wrong?
Thanks
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
James Hancock

ASKER
Hi

Everything seems to install, until I get to...

Install homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

it says

curl: (22) The requested URL returned error: 404 Not Found

That link seems to be empty in a browser
what is curl?
Thanks
ASKER CERTIFIED SOLUTION
serialband

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
James Hancock

ASKER
Thanks a lot
My Bash completes the curl with :

Last login: Sat Apr  2 00:19:18 on ttys001
Jamess-MacBook-Pro:~ jameshancock$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
curl: (22) The requested URL returned error: 404 Not Found
Jamess-MacBook-Pro:~ jameshancock$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
==> The following directories will be made group writable:
/usr/local/.
/usr/local/bin
==> The following directories will have their owner set to jameshancock:
/usr/local/.
/usr/local/bin
==> The following directories will have their group set to admin:
/usr/local/.
/usr/local/bin

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
==> /usr/bin/sudo /usr/sbin/chown jameshancock /usr/local/. /usr/local/bin
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown jameshancock /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 4086, done.
remote: Compressing objects: 100% (3933/3933), done.
remote: Total 4086 (delta 35), reused 1856 (delta 20), pack-reused 0
Receiving objects: 100% (4086/4086), 3.38 MiB | 1.96 MiB/s, done.
Resolving deltas: 100% (35/35), done.
From https://github.com/Homebrew/homebrew
 * [new branch]      master     -> origin/master
HEAD is now at 48e5079 test-bot: fix path in cleanup_before
==> Tapping homebrew/core
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-core'...
remote: Counting objects: 3646, done.
remote: Compressing objects: 100% (3529/3529), done.
remote: Total 3646 (delta 12), reused 1677 (delta 4), pack-reused 0
Receiving objects: 100% (3646/3646), 2.70 MiB | 2.01 MiB/s, done.
Resolving deltas: 100% (12/12), done.
Checking connectivity... done.
Tapped 3524 formulae (3,673 files, 8.4M)
==> Installation successful!
==> Next steps
Run `brew help` to get started
Jamess-MacBook-Pro:~ jameshancock$ 

Open in new window


It seems to be correct. I haven't tried any of the other steps until I'm certain that is good.
I'm so used to UNIX and Linux that my Mac terminal would prefer certainty.
I'm pretty sure it is correct ;)
TY
James Hancock

ASKER
Thanks
Clean and simple
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck