Antoine Pitrou <pit...@free.fr> added the comment: 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 ---------- nosy: +pitrou resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5003> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com