[Numpy-discussion] Building Numpy under Python 1.6, Windows

Jonathan M. Gilligan jonathan.gilligan at vanderbilt.edu
Mon Sep 18 16:34:17 CDT 2000


I have recently upgraded to Python 1.6 (final). Now I can't figure out how 
to build Numpy with lapack_lite under windows. There is not a makefile for 
lapack_lite for MSVC and the instructions in README don't really help. All 
that setup.py will do is complain that lapack_lite is not installed.

Specifically, are there specific compiler flags that I need to use to 
compile lapack lite? Should I just emulate the unix version and do

cl -c *.c
lib -out:blas.lib blas_lite.obj
lib -out:lapack.lib dlapack_lite.obj f2c_lite.obj zlapack_lite.obj

I tried doing this, but when I try to run the NumTut examples, I get the 
following error:

D:\Programming\python\Numerical\Demo>python
Python 1.6 (#0, Sep  5 2000, 08:16:13) [MSC 32 bit (Intel)] on win32
Copyright (c) 1995-2000 Corporation for National Research Initiatives.
All Rights Reserved.
Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved.
 >>> import NumTut
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "NumTut\__init__.py", line 14, in ?
     greece = pickle.load(open(os.path.join(_dir, 'greece.pik'), 'rb')) / 256.0
   File "D:\Programming\python\Python 1.6\lib\pickle.py", line 855, in load
     return Unpickler(file).load()
   File "D:\Programming\python\Python 1.6\lib\pickle.py", line 515, in load
     dispatch[key](self)
   File "D:\Programming\python\Python 1.6\lib\pickle.py", line 688, in 
load_globa
l
     klass = self.find_class(module, name)
   File "D:\Programming\python\Python 1.6\lib\pickle.py", line 698, in 
find_class

     raise SystemError, \
  from module Numericto import class array_constructor
 >>>


FWIW, I am using the versions from 
:pserver:anonymous at cvs.numpy.sourceforge.net:/cvsroot/numpy, module 
Numerical, checked out as of Sept. 14. I didn't see any tags defined in the 
repository corresponding to release 16.x. Did I miss something? Should the 
releases not be getting tagged in the CVS repository?

Thanks for any pointers,
Jonathan




More information about the Numpy-discussion mailing list