Won't start on Mac OS X 10.12.2 on python 3.5.2

Issue #320 new
Sean LaPlante created an issue

Current version of pygame up-to-date as of 12-19-2016 via pip

$ pip install --upgrade pygame
$ python3
>> import pygame
>> pygame.init()
>> pygame.display.set_mode((800, 600))

Hangs on opening the pygame window with the Apple waiting spinner forever. Using pygame_sdl2 fixes the issue. https://github.com/renpy/pygame_sdl2

Comments (9)

  1. Thomas Kluyver

    Are you in a virtualenv, or otherwise in a non-framework build of Python (I don't know how you check this)? There is a known issue on Mac with such setups (#203).

  2. Sean LaPlante reporter

    I am not using any virtual environments.

    As for Python, I'm using the python you can get by going here https://www.python.org/downloads/ and clicking the "Download Python 3.5.2" button (which downloads a pkg on mac). I'm not sure what you mean by non-framework build.

  3. Sean LaPlante reporter

    I don't know if this is helpful or not, but I am 100% certain the update to 10.12.2 has something to do with this because I updated from 10.12.1 to 10.12.2 this morning and tested it before and after the upgrade. It worked before and now it does not. I was actually debugging an issue for a friend of mine trying to get my code to work when he said he was on 10.12.2. So I updated and it stopped working. Nothing besides the update to 10.12.2 changed in-between testing.

  4. Tommy Sparber

    I can confirm the issue using the above example on 10.12.2, but did not test it on 10.12.1 (using pygame built from source using homebrew and from pip). Running the pygame tests on 10.12.2 still works for python 2.7 and python 3.5 though (python installed from homebrew).

    python -m pygame.tests.__main__ --time_out 300 -p python
    python3 -m pygame.tests.__main__ --time_out 300 -p python3
    
  5. René Dudfield

    Do any of the homebrew sdl programs work without pygame? This xsw tool uses sdl...

    brew install xsw
    xsw --tutorial
    
  6. Log in to comment