On 17 September 2013 11:10, Davide Dalmasso <davide.dalma...@gmail.com> wrote: > Il giorno lunedì 16 settembre 2013 17:47:55 UTC+2, Ethan Furman ha scritto: >> >> We'll need the rest of the traceback, as it will have the actual error. >> > Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit > (Intel)] on win32 > Type "copyright", "credits" or "license()" for more information. >>>> import statsmodels.api as sm > Traceback (most recent call last): > File "<pyshell#0>", line 1, in <module> > import statsmodels.api as sm > File "C:\Python33\lib\site-packages\statsmodels\api.py", line 1, in <module> > from . import iolib, datasets, tools > File "C:\Python33\lib\site-packages\statsmodels\iolib\__init__.py", line 1, > in <module> > from .foreign import StataReader, genfromdta, savetxt > File "C:\Python33\lib\site-packages\statsmodels\iolib\foreign.py", line 20, > in <module> > import statsmodels.tools.data as data_util > File "C:\Python33\lib\site-packages\statsmodels\tools\__init__.py", line 1, > in <module> > from .tools import add_constant, categorical > File "C:\Python33\lib\site-packages\statsmodels\tools\tools.py", line 8, in > <module> > from scipy.interpolate import interp1d > File "C:\Python33\lib\site-packages\scipy\interpolate\__init__.py", line > 150, in <module> > from .interpolate import * > File "C:\Python33\lib\site-packages\scipy\interpolate\interpolate.py", line > 12, in <module> > import scipy.special as spec > File "C:\Python33\lib\site-packages\scipy\special\__init__.py", line 529, > in <module> > from ._ufuncs import * > ImportError: DLL load failed: Impossibile trovare il modulo specificato. >>>>
This looks like a bug in your scipy installation. What happens if you try the following in an interactive session: >>> import scipy >>> from scipy.interpolate import interp1d Also how did you install scipy? I didn't think that Windows binaries for Python 3.3 were available yet. Oscar -- https://mail.python.org/mailman/listinfo/python-list