Hello Fabio You have two versions of 2.6 on your system.
On Apr 15, 2011, at 4:51 AM, Fabio wrote:
> I have the "built-in" Python2.5 which comes installed by "mother Apple".
My OSX comes with 2.3, 2.5, and 2.6. :) These are under:
/System/Library/Frameworks/Python.framework/Versions/
^^^^^^^^^
the ones you installed are under:
/Library/Frameworks/Python.framework/Versions/
I can reproduce this problem on my system, because /usr/bin/python2.6 points to
the system version. There is an easy solution:
#!/usr/bin/env python
will work, or,
#!/usr/local/bin/python
it's better to use the former, as it will work even as you change versions,
etc... You should avoid using the shebang with a *specific* python version.
just use #!/usr/bin/env python
bb
--
Brian Blais
[email protected]
http://web.bryant.edu/~bblais
http://bblais.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python-list