<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I have Mac OS X Leopard 10.5.6 and I downloaded and unpacked Python 3.0 into a folder (/Library/Frameworks/Python.framework) and ran commands:</div><div><br></div><div>cd /Library/Frameworks/Python.framework/Python-3.0</div><div>python setup.py install</div><div><br></div><div>and got the message reporting a syntax error:</div><div><br></div><div><div><font class="Apple-style-span" face="Courier">Macintosh:~ vzupka$ /bin/csh</font></div><div><font class="Apple-style-span" face="Courier">[Macintosh:~] vzupka% cd /Library/Frameworks/Python.framework/Python-3.0</font></div><div><font class="Apple-style-span" face="Courier">[Macintosh:Frameworks/Python.framework/Python-3.0] vzupka% python setup.py install</font></div><div><font class="Apple-style-span" face="Courier"> File "setup.py", line 232</font></div><div><font class="Apple-style-span" face="Courier"> except (CCompilerError, DistutilsError) as why:</font></div><div><font class="Apple-style-span" face="Courier"> ^</font></div><div><font class="Apple-style-span" face="Courier">SyntaxError: invalid syntax</font></div><div><font class="Apple-style-span" face="Courier">[Macintosh:Frameworks/Python.framework/Python-3.0] vzupka% </font></div></div><div><br></div><div>What is the reason and how do I install?</div><div><br></div><div>Regards,</div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div>Vladimír Župka</div><div><a href="mailto:vzupka@volny.cz">vzupka@volny.cz</a></div><div><br></div></div><br></div><br></div></span><br class="Apple-interchange-newline"> </div><br></body></html>