cannot execute binary file (Python 3.0.1)

Chris Rebert clp2 at rebertia.com
Sun Mar 1 03:14:40 EST 2009


On Sun, Mar 1, 2009 at 12:04 AM, cf29 <charly.founes at gmail.com> wrote:
> Greetings,
> 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/
> python_file.py'  && 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.

Detailing exactly how you upgraded Python would help immensely.

Cheers,
Chris

-- 
Follow the path of the Iguana...
http://rebertia.com



More information about the Python-list mailing list