<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Am 14.03.2009 um 09:26 schrieb Andrei Maxim:</div><br class="Apple-interchange-newline"><blockquote type="cite">My install is pretty much vanilla Python 3.0.1. All I changed was the line added to ~/.bash_login by the Python installer. Notice that ${PATH} is before the path to the Python 3.0.1 binary files:<div><br></div><div><div># Setting PATH for MacPython 3.0</div> <div># The orginal version is saved in .bash_login.pysave</div><div>PATH="${PATH}:/Library/Frameworks/Python.framework/Versions/3.0/bin"</div><div>export PATH</div><div><br></div><div>When running this tiny program I get the expected output:</div> <div><br></div><div><div>#!/usr/bin/env python3.0</div><div>print ("hallo world")</div></div><div><br></div><div>It really doesn't matter if you use Python 3 as the default version of Python or not, so there must be something that you changed. AFAIK, the only change that you really needed to do is either run the command file from the Python 3.0 folder or add those 4 lines in the .bash_login file (or whatever shell you use).</div></div></blockquote><br></div><div>I do not have a file called .bash_login. But when I type </div><div><br></div><div>env</div><div><br></div><div>into the terminal I get </div><div><br></div><div>PATH=/Library/Frameworks/Python.framework/Versions/3.0/bin:/sw/bin:/sw/sbin:/sw/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/X11R6/bin</div><div><br></div><div>Which means the path is already set correctly, isnt it?</div><div><br></div><div>But I still get the error message, als after a reinstall of TM,</div><div><br></div><div><span class="Apple-style-span" style="font-family: LuxiMono; font-size: 12px; "><span class="err" style="margin-top: 0px; color: red; ">Error in sitecustomize; set PYTHONVERBOSE for traceback:<br style="margin-top: 0px; "></span><span class="err" style="color: red; ">NameError: name 'reload' is not defined<br style="margin-top: 0px; "></span>hallo world</span></div><div><font class="Apple-style-span" face="LuxiMono" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" face="LuxiMono" size="3"><span class="Apple-style-span" style="font-size: 12px;"><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; ">How could that be resolved?</span></span></font></div><div><br></div><div><br></div><div>Thanks</div><div>Christian</div></body></html>