Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54275

Re: statsmodels.api

Newsgroups comp.lang.python
Date 2013-09-17 03:10 -0700
References <eac9f1af-74e0-4eb0-8719-766894b52f37@googlegroups.com> <mailman.32.1379349395.18130.python-list@python.org>
Message-ID <d4520537-a139-453a-9f2a-985d6177f802@googlegroups.com> (permalink)
Subject Re: statsmodels.api
From Davide Dalmasso <davide.dalmasso@gmail.com>

Show all headers | View raw


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.
>>>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

statsmodels.api Davide Dalmasso <davide.dalmasso@gmail.com> - 2013-09-16 08:37 -0700
  Re: statsmodels.api John Gordon <gordon@panix.com> - 2013-09-16 16:30 +0000
  Re: statsmodels.api Ethan Furman <ethan@stoneleaf.us> - 2013-09-16 08:47 -0700
    Re: statsmodels.api Davide Dalmasso <davide.dalmasso@gmail.com> - 2013-09-17 03:10 -0700
      Re: statsmodels.api Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-09-17 12:55 +0100
        Re: statsmodels.api Davide Dalmasso <davide.dalmasso@gmail.com> - 2013-09-17 05:13 -0700
          Re: statsmodels.api Josef Pktd <josef.pktd@gmail.com> - 2013-09-17 06:02 -0700
          Re: statsmodels.api Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-09-17 14:06 +0100
            Re: statsmodels.api Josef Pktd <josef.pktd@gmail.com> - 2013-09-17 06:35 -0700
              Re: statsmodels.api Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-09-17 15:10 +0100
                Re: statsmodels.api Davide Dalmasso <davide.dalmasso@gmail.com> - 2013-09-17 07:46 -0700
              Re: statsmodels.api Josef Perktold <josef.pktd@gmail.com> - 2013-09-17 14:52 +0000
              Re: statsmodels.api Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-09-17 16:41 +0100
              Re: statsmodels.api Josef Perktold <josef.pktd@gmail.com> - 2013-09-17 16:15 +0000
              Re: statsmodels.api Josef Perktold <josef.pktd@gmail.com> - 2013-09-18 00:03 +0000
  Re: statsmodels.api Davide Dalmasso <davide.dalmasso@gmail.com> - 2013-09-17 05:15 -0700

csiph-web