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


Groups > comp.lang.python > #54282

Re: statsmodels.api

References <eac9f1af-74e0-4eb0-8719-766894b52f37@googlegroups.com> <mailman.32.1379349395.18130.python-list@python.org> <d4520537-a139-453a-9f2a-985d6177f802@googlegroups.com>
From Oscar Benjamin <oscar.j.benjamin@gmail.com>
Date 2013-09-17 12:55 +0100
Subject Re: statsmodels.api
Newsgroups comp.lang.python
Message-ID <mailman.60.1379418987.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 17 September 2013 11:10, Davide Dalmasso <davide.dalmasso@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

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