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


Groups > comp.lang.python > #54295

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> <mailman.60.1379418987.18130.python-list@python.org> <477a0f61-87d6-4937-8467-743fc053ecec@googlegroups.com>
From Oscar Benjamin <oscar.j.benjamin@gmail.com>
Date 2013-09-17 14:06 +0100
Subject Re: statsmodels.api
Newsgroups comp.lang.python
Message-ID <mailman.68.1379423249.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 17 September 2013 13:13, Davide Dalmasso <davide.dalmasso@gmail.com> wrote:
>
> You are right... there is a problem with scipy intallation because this error arise...
>
>>>> from scipy.interpolate import interp1d
> Traceback (most recent call last):
>   File "<pyshell#3>", line 1, 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.
>
> I tryed to re-install the scipy executable that I downloaded from http://www.lfd.uci.edu/~gohlke/pythonlibs/
> but the problem persists

There are potential compatibility problems with the binaries from
there as described at the top of the page. One thing is that you need
to use Christopher's own numpy build to go with scipy:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
If you installed numpy from somewhere else then that could be your problem.

Essentially scipy isn't quite ported to Python 3.3 yet so my general
advice is to use Python 3.2 and to use the official numpy/scipy
binaries from sourceforge (they don't yet provide binaries for 3.3).

Alternatively an easier approach might be to use Python(x, y) (which
is free) or the Enthought Python Distribution (which is free for
academic users). These are distributions that bundle Python with
numpy/scipy and lots of other packages. I think they both still use
Python 2.7 though.

(As an aside, this is all much simpler if you're using Ubuntu or some
other Linux distro rather than Windows.)


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