[Tutor] Why this Difference in Importing NumPy 1.2 vs 1.4?

Emile van Sebille emile at fenx.com
Fri Mar 26 22:09:50 CET 2010


On 3/26/2010 12:44 PM Wayne Watson said...
> 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:
>
>   >>>
> Traceback (most recent call last):
> File "C:\Documents and Settings\HP_Administrator.DavesDesktop\My
> Documents\Astro\Meteors\NC-FireballReport.py", line 38, in<module>
> from scipy import stats as stats # scoreatpercentile
> File "C:\Python25\lib\site-packages\scipy\stats\__init__.py", line 7, in<module>
> from stats import *
> File "C:\Python25\lib\site-packages\scipy\stats\stats.py", line 191, in<module>
> import scipy.special as special
> File "C:\Python25\lib\site-packages\scipy\special\__init__.py", line 22, in<module>
> from numpy.testing import NumpyTest
> ImportError: cannot import name NumpyTest
>   >>>
>
> Comments?

Version specific variations of packages with dedicated mailing lists are 
likely beyond the scope of this group.  I'd ask on the numpy list.

See http://www.scipy.org/Mailing_Lists

Emile


>
> --
>              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:<www.speckledwithstars.net/>
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor




More information about the Tutor mailing list