statsmodels.api
Davide Dalmasso
davide.dalmasso at gmail.com
Tue Sep 17 06:10:20 EDT 2013
Il giorno lunedì 16 settembre 2013 17:47:55 UTC+2, Ethan Furman ha scritto:
> On 09/16/2013 08:37 AM, Davide Dalmasso wrote:
>
> > Hi,
>
> >
>
> > I intalled an executable version of statsmodels library for Windows 32-bit.
>
> > When I import it in my Python Shell no problem occurs buy when I write:
>
> >
>
> > import statsmodels.api as sm
>
> >
>
> > the following error arises:
>
> >
>
> > Traceback (most recent call last):
>
> > File "<pyshell#1>", line 1, in <module>
>
> > import statsmodels.api
>
> > 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 *
>
>
>
> We'll need the rest of the traceback, as it will have the actual error.
>
>
>
> --
>
> ~Ethan~
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.
>>>
More information about the Python-list
mailing list