Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'essentially': 0.04; 'scipy': 0.05; 'importerror:': 0.07; 'skip:" 60': 0.07; 'subject:skip:s 10': 0.07; 'executable': 0.09; 'failed:': 0.09; 'modulo': 0.09; 'spec': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; 'cc:name:python list': 0.16; 'davide': 0.16; 'numpy': 0.16; 'ported': 0.16; 'trovare': 0.16; 'wrote:': 0.18; 'packages.': 0.19; 'import': 0.22; 'cc:addr:python.org': 0.22; 'load': 0.23; 'error': 0.23; 'dll': 0.24; 'simpler': 0.24; 'cc:2**0': 0.24; 'academic': 0.26; 'downloaded': 0.26; 'somewhere': 0.26; 'url:edu': 0.26; 'header :In-Reply-To:1': 0.27; 'installed': 0.27; 'message- id:@mail.gmail.com': 0.30; '(which': 0.31; 'easier': 0.31; 'page.': 0.31; '"",': 0.31; '3.2': 0.31; '>>>>': 0.31; 'though.': 0.31; 'file': 0.32; 'quite': 0.32; 'linux': 0.33; '(most': 0.33; 'could': 0.34; 'problem': 0.35; 'advice': 0.35; 'problem.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'described': 0.36; 'skip:" 50': 0.36; 'ubuntu': 0.36; 'problems': 0.38; 'rather': 0.38; 'recent': 0.39; '12,': 0.39; 'free': 0.61; "you're": 0.61; 'provide': 0.64; 'to:addr:gmail.com': 0.65; 'oscar': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=hndjQWfRSRix/vtbhecJ9CFUgXN+h5t8LYcTZQ2QM9I=; b=qFCW0fBR1VPOMVttX/INdM7QA5WTwsTLm8Y3lXrsN9mtSlQH6dl59KjRQI2BwZiMMS eC4D4OnMl25Be4Cw8VhfDS3ekr/oSazph1ElqCcDGMGFtAEG8V5qNtbln6MmPCFIHhFJ IKqwbSHkdgZOAPzS7j/cI54aZwfYtMTQ2nY6iDPnccAZWhfmTOa8hVuy0qcaoSXOcgPo ZJZvTyMN8E0EhMpGEYQZMZIi0RbVsSOx0ik39I1riOlbweTU8YqLaajdbKypiJiiV/vY w3GIjXVAS7V2L5vlfjsyVRRwA7Qe48xPGWHloQMP+momlo53sYvuGWLMhdTa3yww3Kep ivRA== X-Received: by 10.58.171.4 with SMTP id aq4mr748776vec.26.1379423239956; Tue, 17 Sep 2013 06:07:19 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <477a0f61-87d6-4937-8467-743fc053ecec@googlegroups.com> References: <477a0f61-87d6-4937-8467-743fc053ecec@googlegroups.com> From: Oscar Benjamin Date: Tue, 17 Sep 2013 14:06:59 +0100 Subject: Re: statsmodels.api To: Davide Dalmasso Content-Type: text/plain; charset=ISO-8859-1 Cc: Python List X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379423249 news.xs4all.nl 15999 [2001:888:2000:d::a6]:53782 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54295 On 17 September 2013 13:13, Davide Dalmasso 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 "", line 1, in > from scipy.interpolate import interp1d > File "C:\Python33\lib\site-packages\scipy\interpolate\__init__.py", line 150, in > from .interpolate import * > File "C:\Python33\lib\site-packages\scipy\interpolate\interpolate.py", line 12, in > import scipy.special as spec > File "C:\Python33\lib\site-packages\scipy\special\__init__.py", line 529, in > 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