<br><font size=2 face="sans-serif">Thanks Scott</font>
<br><font size=2 face="sans-serif">The numpy version installed on the server
wasn't for win32.</font>
<br><font size=2 face="sans-serif">I download the correct version and it
is working.</font>
<br><font size=2 face="sans-serif">Thanks again for your help,</font>
<br><font size=2 face="sans-serif">Steve</font>
<br><font size=2 face="sans-serif"><br>
</font><font size=3 color=#0066ff><i>Steve Toutant, M. Sc.</i></font><font size=3><br>
Analyste en géomatique<br>
Secteur environnement<br>
Direction des risques biologiques, environnementaux et occupationnels<br>
Institut national de santé publique du Québec<br>
945, avenue Wolfe<br>
Québec, Qc G1V 5B3 </font>
<p><font size=3>Tél.: (418) 650-5115 #5281<br>
Fax.: (418) 654-3144</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:steve.toutant@inspq.qc.ca><font size=3 color=blue><u>steve.toutant@inspq.qc.ca</u></font></a><font size=3 color=blue><u><br>
</u></font><a href=http://www.inspq.qc.ca/><font size=3 color=blue><u>http://www.inspq.qc.ca</u></font></a>
<p><font size=3>&nbsp; </font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Scott Sinclair &lt;scott.sinclair.za@gmail.com&gt;@lists.osgeo.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : gdal-dev-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">30/07/2009 10:07 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">gdal-dev@lists.osgeo.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [gdal-dev] Numeric package</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><tt><font size=2>&gt;2009/7/30 &nbsp;&lt;Steve.Toutant@inspq.qc.ca&gt;:<br>
&gt; In a script I have this<br>
&gt; &nbsp; &nbsp; try:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; import numpy as Numeric<br>
&gt; &nbsp; &nbsp; except ImportError:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; import Numeric<br>
&gt;<br>
&gt; I got this error when running the script<br>
&gt; &nbsp; &nbsp; import Numeric<br>
&gt; ImportError: No module named Numeric<br>
&gt;<br>
&gt; I'm on windows<br>
&gt; Under C:\Python26\Lib\site-packages<br>
&gt; I have this<br>
&gt;<br>
&gt;<br>
&gt; I though numpy and numeric package were installed but it seems not.<br>
&gt; How can I install the numeric package properly?<br>
<br>
You probably don't need to.<br>
<br>
Numeric has been superseded by NumPy and is no longer actively<br>
developed. You should use NumPy instead, whenever you have a choice<br>
(the first part of your script is trying to do this by importing the<br>
numpy package and calling it by the name Numeric).<br>
<br>
It's not clear from your description where your script is failing.<br>
What happens when you type the following at a Python prompt?<br>
<br>
&gt;&gt;&gt; import numpy<br>
&gt;&gt;&gt; numpy.__version__<br>
<br>
Cheers,<br>
Scott<br>
_______________________________________________<br>
gdal-dev mailing list<br>
gdal-dev@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/gdal-dev<br>
</font></tt>
<br>
<br>
<br>