installation in mac os x

Diez B. Roggisch deets at nospam.web.de
Thu Jun 11 05:16:25 EDT 2009


Karl Jansson wrote:

> Hi,
> 
> I was doing the tutorial at http://www.python.org/doc/current/
> tutorial/, and I came across some code that did not work,  and I got
> the following error:          AttributeError: 'str' object has no attribute
> 'format'.
> 
> So I downloaded a .dmg of python 2.6.2 and then I installed it.  But
> it's not working.  Running the Python launcher, the "new" command in
> the file menu is grey, and won't work, so I can't make any scripts.
> 
> Does anyone know how to make python 2.6.2 work in mac os x?

What happens if you work on the commandline (Terminal)?

Python2.6 should be available from (out of my head)

/Library/Frameworks/Python.framework/Versions/2.6/bin/python

If that's working, it is successfully installed.

Diez



More information about the Python-list mailing list