Install Python-2.1.3 problem
tim.golden at viacom-outdoor.co.uk
Thu Mar 20 09:43:19 CET 2003
This looks like the Redhat python business: I think that RH72
comes with Python 1.5.2. This means that when you type "python setup.py ..."
you're running a version of python which doesn't understand list
(that the [ext for ext...] stuff) which weren't introduced until python 2.x.
got the download myself, but probably a "./configure && make && make
do the business as effectively as a a "python setup.py".
Alternatively, get an appropriate Python RPM (source or binary) and install
From: Brett Kelly [mailto:bkelly at sourcereview.net]
Sent: 20 March 2003 08:11
To: python-list at python.org
Subject: Re: Install Python-2.1.3 problem
On Wed, 19 Mar 2003 23:36:22 -0800, Albert wrote:
> I download the open source Python-2.1.3 from Python home page. My
> platform is RedHat 7.2 .After uncompress, I type " python setup
> install" The following word displayed :
> File "setup.py", line 57
> extlist = [ext for ext in extlist if ext.name == modname]
> SyntaxError : invalid syntax
> how to solve it?
You might consider getting the current stable version of python (2.2)
bkelly at sourcereview.net
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
More information about the Python-list