Skip to content

Install issues on OSX 10.9.1 #8

@bskinny129

Description

@bskinny129

From a parent that went through the install:

Hi, I just wanted to note that the instructions have us download the installer from the Hello World! book, but are missing an important step which may affect some users: On OSX 10.9.1 Mavericks, with Apple's version of Python 2.7.5 pre-installed, the 'Hello World!' installer appears to install python.org's version of Python 2.7.5 into the 'Applications' directory. However, the installer does not automatically run '/Applications/Python 2.7/Update Shell Profile.command'. This leaves Apple's python2.7 (/usr/bin/python2.7) as the default rather than python.org's python2.7 (/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7). As a result, the necessary site-packages such as 'pygame' and 'PyQt4' cannot be found: $ which python /usr/bin/python $ python -c 'import site; print site.getsitepackages()' ['/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/Library/Python/2.7/site-packages'] $ python -c 'import pygame; import PyQt4' Traceback (most recent call last): File "", line 1, in ImportError: No module named pygame The solution is to manually run 'Update Shell Profile.command', after which things will work as expected: $ which python /Library/Frameworks/Python.framework/Versions/2.7/bin/python $ python -c 'import site; print site.getsitepackages()' ['/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages', '/Library/Frameworks/Python.framework/Versions/2.7/lib/site-python', '/Library/Python/2.7/site-packages'] $ python -c 'import pygame; import PyQt4'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions