Python Portability
Thomas Jollans
thomas at jollans.com
Sun Aug 8 06:00:51 EDT 2010
On 08/08/2010 03:10 AM, W. eWatson wrote:
> I think I posted the errors my partner got above. Let me look. Yes,
> here's the copy.
> He gets
>
> Traceback (most recent call last):
> File "C:\Documents and
> Settings\HP_Administrator.DavesDesktop\Desktop\NC-FireballReport20100729.py",
> line 40, 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
>
Is this error actually caused by the "one char change"? If you undo your
"one char change", does the error disappear?
> Here are the first few lines of code.
>
> import sys, os, glob
> import string
> from numpy import *
> from datetime import datetime, timedelta
> import time
> from scipy import stats as stats # scoreatpercentile
More information about the Python-list
mailing list