<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
We've had the same problem many times. There were a few causes:<br>
<br>
* Our clean scripts don't delete c++ files, so generated code was often
not re-generated when we switched to numpy<br>
<br>
* Files to generate code had numeric arrays hardcoded<br>
<br>
* we were using numerix, and the env var was not set for part of the
build<br>
<br>
How I generally detect the problem is by deleting the numeric/numarray
package directories, then running python with the verbose flag.<br>
<br>
Bryce<br>
<br>
Fernando Perez wrote:
<blockquote
 cite="middb6b5ecc0606151025n3e95f642x3b802797710a0a79@mail.gmail.com"
 type="cite">
  <pre wrap="">On 6/15/06, Eric Emsellem <a class="moz-txt-link-rfc2396E" href="mailto:emsellem@obs.univ-lyon1.fr"><emsellem@obs.univ-lyon1.fr></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,

I have written a number of small modules where I now systematically use
numpy.

I have in principle used the latest versions of the different
array/Science modules (scipy, numpy, ..) but still at some point during
a selection, it crashes on numpy because it seems that the array
correspond to "numarray" arrays.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
[...]

  </pre>
  <blockquote type="cite">
    <pre wrap="">QUESTION 1: Any hint on where numarray could still be appearing?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Not a final answer, but I've had the same thing happen to me recently
(I'm making the transition right now) with extension modules which
were built against Numeric (in my case).  They return old Numeric
arrays (I had 23.7, without the array interface) and numpy is not
happy.

Rebuilding all my extensions against numpy  fixed the problem.

Cheers,

f


_______________________________________________
Numpy-discussion mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Numpy-discussion@lists.sourceforge.net">Numpy-discussion@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/numpy-discussion">https://lists.sourceforge.net/lists/listinfo/numpy-discussion</a>

  </pre>
</blockquote>
<br>
</body>
</html>