<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:windowtext'>Wayne,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:windowtext'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:windowtext'>The current release
of Scipy doesn’t work perfectly well with Numpy 1.4.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:windowtext'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:windowtext'>On my systems (Mac OS
10.6, WinXP, and Ubuntu), I’m running Numpy 1.4 with the current Scipy on
Python 2.6.4. I get the same error you describe below on the first attempt. For
some reason unknown to me, it works on the second try.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:windowtext'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:windowtext'>Switching to Numpy 1.3
is the best solution to the error.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:windowtext'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:windowtext'>-paul<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:windowtext'><o:p> </o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;
font-weight:bold'>From:</span></font></b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
numpy-discussion-bounces@scipy.org [mailto:numpy-discussion-bounces@scipy.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Wayne Watson<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, March 26, 2010 5:44
PM<br>
<b><span style='font-weight:bold'>To:</span></b> numpy-discussion@scipy.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Numpy-discussion] Why
this Difference in Importing NumPy 1.2 vs 1.4?<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>I wrote a program in Python 2.5 under Win7 and it runs
fine using Numpy 1.2 , but not on a colleague's machine who has a slightly
newer 2.5. We both use IDLE to execute the program. During import he gets this:<br>
<br>
</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
"Arial","sans-serif"'>>>> <br>
Traceback (most recent call last):<br>
  File "C:\Documents and Settings\HP_Administrator.DavesDesktop\My
Documents\Astro\Meteors\NC-FireballReport.py", line 38, in <module><br>
    from scipy import stats as stats # scoreatpercentile<br>
  File "C:\Python25\lib\site-packages\scipy\stats\__init__.py",
line 7, in <module><br>
    from stats import *<br>
  File "C:\Python25\lib\site-packages\scipy\stats\stats.py",
line 191, in <module><br>
    import scipy.special as special<br>
  File "C:\Python25\lib\site-packages\scipy\special\__init__.py",
line 22, in <module><br>
    from numpy.testing import NumpyTest<br>
ImportError: cannot import name NumpyTest<br>
>>>     </span></font><br>
<br>
Comments?<br>
<br>
<o:p></o:p></p>

<pre><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>-- <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>             (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>              Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet  <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>           Poisoned Shipments. Serious illegal waste dumping may be<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>           occuring in the Meditrainean. Radioactive material, <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>           mercury, biohazards. -- Sci Am Mag, Feb., 2010, p14f.<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>                    Web Page: <<a
href="http://www.speckledwithstars.net/">www.speckledwithstars.net/</a>><o:p></o:p></span></font></pre></div>

</div>

</body>

</html>