<!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">
Thanks. How do I switch? Do I just pull down 1.3 or better 1.2 (I use
it.), and install it? How do I (actually my colleague) somehow remove
1.4? Is it as easy as going to IDLE's path browser and removing, under
site-packages, numpy? (I'm not sure that's even possible. I don't see a
right-click menu.)<br>
<br>
On 3/26/2010 7:22 PM, <a class="moz-txt-link-abbreviated" href="mailto:PHobson@Geosyntec.com">PHobson@Geosyntec.com</a> wrote:
<blockquote
cite="mid:C97487CD346EEA4E80423F51F6D1EB2FA98322E855@EXCHANGE-00.GeoSyntec.net"
type="cite">
<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]-->
<div class="Section1">
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: windowtext;">Wayne,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: windowtext;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; 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 color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: windowtext;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; 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 color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: windowtext;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; 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 color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: windowtext;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: windowtext;">-paul<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: windowtext;"><o:p> </o:p></span></font></p>
<div
style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext; font-weight: bold;">From:</span></font></b><font
color="black" face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:numpy-discussion-bounces@scipy.org">numpy-discussion-bounces@scipy.org</a>
[<a class="moz-txt-link-freetext" href="mailto:numpy-discussion-bounces@scipy.org">mailto:numpy-discussion-bounces@scipy.org</a>] <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>
<a class="moz-txt-link-abbreviated" href="mailto:numpy-discussion@scipy.org">numpy-discussion@scipy.org</a><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 color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;">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 face="Arial" size="2"><span
style="font-size: 10pt; 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 color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">-- <o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> Wayne Watson (Watson Adventures, Prop., Nevada City, CA)<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet <o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> Poisoned Shipments. Serious illegal waste dumping may be<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> occuring in the Meditrainean. Radioactive material, <o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> mercury, biohazards. -- Sci Am Mag, Feb., 2010, p14f.<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> <o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> Web Page: <<a
moz-do-not-send="true" href="http://www.speckledwithstars.net/">www.speckledwithstars.net/</a>><o:p></o:p></span></font></pre>
</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
NumPy-Discussion mailing list
<a class="moz-txt-link-abbreviated" href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/numpy-discussion">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Poisoned Shipments. Serious illegal waste dumping may be
occuring in the Meditrainean. Radioactive material,
mercury, biohazards. -- Sci Am Mag, Feb., 2010, p14f.
Web Page: <<a class="moz-txt-link-abbreviated" href="http://www.speckledwithstars.net/">www.speckledwithstars.net/</a>></pre>
</body>
</html>