ANNOUNCE: Python 2.1 final release
Harry George
hgg9140 at cola.ca.boeing.com
Wed Apr 18 11:46:23 EDT 2001
Problems building on Redhat 6.2. Presumably a dumb mistake. Any
ideas?
1. Already have 1.5.2 and 2.0 installed. PYTHONHOME and PYTHONPATH are
set for the 1.5.2 install.
2. Started with untar in a work dir, then:
./configure --prefix=/usr/local
gmake
3. This does the initial C compiling, but fails on:
PYTHONPATH= ./python ./setup.py build
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "./setup.py", line 9, in ?
import sys, os, getopt
ImportError: No module named os
gmake: *** [sharedmods] Error 1
4. I then edited Makefile.pre.in to do:
PYTHONPATH=./Lib ./python ./setup.py build
This gets me past the build, but "gmake test" similarly fails on
PYTHONPATH. Editing again to add ./Lib on the "setup.py test" gets a
little further.
5. But by now it is clear I'm going the wrong direction:
PYTHONPATH=./Lib ./python -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 39, in ?
import random
File "/usr/local/src/toolkit/python/Python-2.1/Lib/random.py", line 76, in ?
from math import log as _log, exp as _exp, pi as _pi, e as _e
ImportError: No module named math
gmake: *** [test] Error 1
Guido van Rossum <guido at digicool.com> writes:
> Yes, the *final* release of Python 2.1 is now available. Thanks again
> for all who helped! Go here for downloads and information:
>
> http://www.python.org/2.1/
>
> As a reminder, here's a list of some of the big new features in 2.1
> (news since 2.0 was released in October 2000):
>
> - nested scopes and __future__ directives
> - rich comparisons and new coercion model
> - warnings framework
> - new build process (Unix)
> - weak references
> - function attributes
> - unittest and doctest modules for automated testing
> - ports to several new platforms, including Cygwin and RISCOS
>
> --Guido van Rossum (home page: http://www.python.org/~guido/)
>
--
Harry George E-mail: harry.g.george at boeing.com
The Boeing Company Renton: (425) 237-6915
P. O. Box 3707 02-CA Everett: (425) 266-3868
Seattle, WA 98124-2207 Page: (425) 631-8803
More information about the Python-list
mailing list