cannot execute binary file (Python 3.0.1)

cf29 charly.founes at
Sun Mar 1 09:04:15 CET 2009

On Mac OS 10.5.6, I updated Python to version 3.0.1.
When I want to run a py file, I get an error:
xxx:~ xxx$ cd '/Users/xxx/Documents/programmingPractice/' && '/usr/
local/bin/python'  '/Users/xxx/Documents/programmingPractice/'  && echo Exit status: $? && exit 1
-bash: /usr/local/bin/python: cannot execute binary file

This wasn't an issue with Python 2.6, please let me know how to solve
this problem.
Best regards

More information about the Python-list mailing list