Hi all,
First thanks to all those who have been helping out - it is really
appreciated.
I have cross posted to the numarray, py2exe and matplotlib lists
I have attempted to use numarray from cvs but I can't build it - no VC7
clang - did a penny drop anywhere?
I am working with python 2.4.1 and numarray 1.3.3 for 2.4 (obviously)
Since I couldnt build numarray - I looked at the new import code in the
cvs init module and ripped it off and stuffed it into my numarray
installation and then when that didnt work - I jammed it right up front
of my application.
It looks like this
def main():
import numarray.numarrayall
from numarray.numinclude import version as __version__
# stolen from next numarray version in cvs TjB
import numarray._conv
import numarray._sort
import numarray._bytes
import numarray._ufunc
import numarray._ufuncBool
import numarray._ufuncInt8
import numarray._ufuncUInt8
import numarray._ufuncInt16
import numarray._ufuncUInt16
import numarray._ufuncInt32
import numarray._ufuncUInt32
import numarray._ufuncFloat32
import numarray._ufuncFloat64
import numarray._ufuncComplex32
import numarray._ufuncComplex64
import numarray._ndarray
import numarray._numarray
import numarray._chararray
import numarray._objectarray
import numarray.memory
import numarray._converter
import numarray._operator
import numarray._numerictype
import numarray.libnumarray
import numarray.libnumeric
import numarray._ufuncInt64
import numarray._ufuncUInt64
print numarray.__version__
application = BoaApp(0)
Still no go - but a changed error message.... grrr
I get
Traceback (most recent call last):
File "AEMdaApp.py", line 81, in ?
File "AEMdaApp.py", line 41, in main
File "numarray\__init__.pyc", line 42, in ?
File "numarray\numarrayall.pyc", line 1, in ?
File "numarray\numerictypes.pyc", line 35, in ?
File "numarray\numinclude.pyc", line 4, in ?
File "numarray\_ndarray.pyc", line 9, in ?
File "numarray\_ndarray.pyc", line 7, in __load
ImportError: init_ndarray: can't find memory.new_memory
ok I confess my bottom lip trembled....
then - probably because I was reading the numarray manual this morning -
I went to my numarray install and decided to run testall.py
I got
F:\Python24\Lib\site-packages\numarray>\python24\python testall.py
Testing numarray 1.3.3 on normal Python (2, 4, 1, 'final', 0) on
platform win32
**********************************************************************
File "F:\python24\lib\site-packages\numarray\numtest.py", line 2843, in
cache p
ss
Failed example:
cPickle.loads(cPickle.dumps(arange(5)+1j))
Exception raised:
Traceback (most recent call last):
File "F:\Python24\lib\doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "