Re: [pygame] Looking for an easy way to install pygame and python on macbook pro

2015-09-03 Thread Paul Vincent Craven
You might have a mismatch between Python 2.7 and 3.4. When you start
python, it should show the version. My instructions will install it for 3.4.

I have students use Wing 101 IDE. They need to go into the "configure
python" menu item and point it to Python 3.4.

I forget the exact path, but if you type:
"which python3"
on a terminal window it will spit out something like
/usr/local/something/something/python3

I type that into the Wing "Configure Python" dialog box (under "edit" I
think)  and it restarts python with 3.4 and pygame.

I don't mess with IDLE anymore.

Paul Vincent Craven

On Thu, Sep 3, 2015 at 2:57 PM, Bob Irving  wrote:

> Hello Paul. Thanks for the reply! (love your book, btw, and we're using it
> as a resource in our classes)
>
> I just finished up following the instructions in the email in the original
> post. Everything seemed good until here.
>
> 1. I rebooted.
> 2. I started the Quartz server.
> 3. I loaded IDLE.
> 4. I wrote "Import pygame" (w/o quotes). This is when it said it couldn't
> fine pygame.
>
> There was definitely an overlap of steps between what you have in your
> book and the instructions I followed from pygame.org. But not all the
> same.
>
> I'll try your method. Thanks again.
>
> Bob Irving
> Charleston, SC
>
> On Thu, Sep 3, 2015 at 3:41 PM, Paul Vincent Craven  > wrote:
>
>> It isn't easy.
>>
>> This is what I do:
>> http://programarcadegames.com/index.php?chapter=foreword
>>
>> I just got done setting up a couple student computers today using that
>> procedure. I also install "Wing 101" as the IDE.
>>
>> Paul Vincent Craven
>>
>> On Thu, Sep 3, 2015 at 2:28 PM, Bob Irving  wrote:
>>
>>> We are teaching classes in 9th grade and would LOVE to find an easy way
>>> to get pygame set up. So far, we have had no success. Lots of errors.
>>>
>>> We are running Yosemite. I'm sure there's an easy way, as with the PC
>>> version.
>>>
>>> Tried this from pygame.org, but no dice:
>>> Current Instructions
>>>
>>> Create and add the following to ~/.bash_profile:
>>>  # Homebrew binaries now take precedence over Apple defaults
>>>  export PATH=/usr/local/bin:$PATH
>>>
>>> Install Apple Xcode command line tools:
>>> xcode-select --install
>>>
>>> Install XQuartz: http://xquartz.macosforge.org/landing/
>>>
>>> Install homebrew:
>>> ruby -e "$(curl -fsSL
>>> https://raw.github.com/Homebrew/homebrew/go/install)"
>>>
>>> Install Python3 "proper" and packages we’ll need for installing PyGame
>>> from bitbucket:
>>> brew install python3 hg sdl sdl_image sdl_mixer sdl_ttf portmidi
>>>
>>> Install PyGame:
>>> pip3 install hg+http://bitbucket.org/pygame/pygame
>>>
>>> Restart the Mac for XQuartz changes
>>>
>>>
>>> --
>>> Twitter: @birv2
>>> www.bob-irving.com
>>> http://www.scoop.it/t/on-the-digital-frontier
>>>
>>>
>>
>
>
> --
> Twitter: @birv2
> www.bob-irving.com
> http://www.scoop.it/t/on-the-digital-frontier
>
>


Re: [pygame] Looking for an easy way to install pygame and python on macbook pro

2015-09-03 Thread Bob Irving
Hello Paul. Thanks for the reply! (love your book, btw, and we're using it
as a resource in our classes)

I just finished up following the instructions in the email in the original
post. Everything seemed good until here.

1. I rebooted.
2. I started the Quartz server.
3. I loaded IDLE.
4. I wrote "Import pygame" (w/o quotes). This is when it said it couldn't
fine pygame.

There was definitely an overlap of steps between what you have in your book
and the instructions I followed from pygame.org. But not all the same.

I'll try your method. Thanks again.

Bob Irving
Charleston, SC

On Thu, Sep 3, 2015 at 3:41 PM, Paul Vincent Craven 
wrote:

> It isn't easy.
>
> This is what I do:
> http://programarcadegames.com/index.php?chapter=foreword
>
> I just got done setting up a couple student computers today using that
> procedure. I also install "Wing 101" as the IDE.
>
> Paul Vincent Craven
>
> On Thu, Sep 3, 2015 at 2:28 PM, Bob Irving  wrote:
>
>> We are teaching classes in 9th grade and would LOVE to find an easy way
>> to get pygame set up. So far, we have had no success. Lots of errors.
>>
>> We are running Yosemite. I'm sure there's an easy way, as with the PC
>> version.
>>
>> Tried this from pygame.org, but no dice:
>> Current Instructions
>>
>> Create and add the following to ~/.bash_profile:
>>  # Homebrew binaries now take precedence over Apple defaults
>>  export PATH=/usr/local/bin:$PATH
>>
>> Install Apple Xcode command line tools:
>> xcode-select --install
>>
>> Install XQuartz: http://xquartz.macosforge.org/landing/
>>
>> Install homebrew:
>> ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install
>> )"
>>
>> Install Python3 "proper" and packages we’ll need for installing PyGame
>> from bitbucket:
>> brew install python3 hg sdl sdl_image sdl_mixer sdl_ttf portmidi
>>
>> Install PyGame:
>> pip3 install hg+http://bitbucket.org/pygame/pygame
>>
>> Restart the Mac for XQuartz changes
>>
>>
>> --
>> Twitter: @birv2
>> www.bob-irving.com
>> http://www.scoop.it/t/on-the-digital-frontier
>>
>>
>


-- 
Twitter: @birv2
www.bob-irving.com
http://www.scoop.it/t/on-the-digital-frontier


Re: [pygame] Looking for an easy way to install pygame and python on macbook pro

2015-09-03 Thread Paul Vincent Craven
It isn't easy.

This is what I do:
http://programarcadegames.com/index.php?chapter=foreword

I just got done setting up a couple student computers today using that
procedure. I also install "Wing 101" as the IDE.

Paul Vincent Craven

On Thu, Sep 3, 2015 at 2:28 PM, Bob Irving  wrote:

> We are teaching classes in 9th grade and would LOVE to find an easy way to
> get pygame set up. So far, we have had no success. Lots of errors.
>
> We are running Yosemite. I'm sure there's an easy way, as with the PC
> version.
>
> Tried this from pygame.org, but no dice:
> Current Instructions
>
> Create and add the following to ~/.bash_profile:
>  # Homebrew binaries now take precedence over Apple defaults
>  export PATH=/usr/local/bin:$PATH
>
> Install Apple Xcode command line tools:
> xcode-select --install
>
> Install XQuartz: http://xquartz.macosforge.org/landing/
>
> Install homebrew:
> ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install
> )"
>
> Install Python3 "proper" and packages we’ll need for installing PyGame
> from bitbucket:
> brew install python3 hg sdl sdl_image sdl_mixer sdl_ttf portmidi
>
> Install PyGame:
> pip3 install hg+http://bitbucket.org/pygame/pygame
>
> Restart the Mac for XQuartz changes
>
>
> --
> Twitter: @birv2
> www.bob-irving.com
> http://www.scoop.it/t/on-the-digital-frontier
>
>


[pygame] Looking for an easy way to install pygame and python on macbook pro

2015-09-03 Thread Bob Irving
We are teaching classes in 9th grade and would LOVE to find an easy way to
get pygame set up. So far, we have had no success. Lots of errors.

We are running Yosemite. I'm sure there's an easy way, as with the PC
version.

Tried this from pygame.org, but no dice:
Current Instructions

Create and add the following to ~/.bash_profile:
 # Homebrew binaries now take precedence over Apple defaults
 export PATH=/usr/local/bin:$PATH

Install Apple Xcode command line tools:
xcode-select --install

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

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

Install Python3 "proper" and packages we’ll need for installing PyGame from
bitbucket:
brew install python3 hg sdl sdl_image sdl_mixer sdl_ttf portmidi

Install PyGame:
pip3 install hg+http://bitbucket.org/pygame/pygame

Restart the Mac for XQuartz changes


-- 
Twitter: @birv2
www.bob-irving.com
http://www.scoop.it/t/on-the-digital-frontier