Issue 5003: Error while installing Python-3 (original) (raw)

Created on 2009-01-19 20:26 by vani, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg80207 - (view) Author: Sravani Gogineni (vani) Date: 2009-01-19 20:26
i was trying to install python 3 using the folowing command $ python setup.py --home=~/python3 and i got the below error: File "setup.py", line 232 except (CCompilerError, DistutilsError) as why: ^ SyntaxError: invalid syntax Could anyone please help me with the problem? Thanks, Vani
msg80208 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-01-19 20:52
setup.py is not meant to be called directly (it will be called by the Python 3 interpreter as part of the build process and is, therefore, written in Python 3 syntax). The proper command sequence to build and install Python is: ./configure --prefix=~/python3 make make install
History
Date User Action Args
2022-04-11 14:56:44 admin set github: 49253
2009-01-19 20:52:16 pitrou set status: open -> closedresolution: not a bugmessages: + nosy: + pitrou
2009-01-19 20:26:33 vani create