Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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; 'win32': 0.03; 'yet.': 0.04; 'scipy': 0.05; 'importerror:': 0.07; 'skip:" 60': 0.07; 'subject:skip:s 10': 0.07; 'failed:': 0.09; 'modulo': 0.09; 'spec': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'bug': 0.12; 'windows': 0.15; 'cc:name:python list': 0.16; 'davide': 0.16; 'trovare': 0.16; 'wrote:': 0.18; 'bit': 0.19; '>>>': 0.22; 'import': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'load': 0.23; 'dll': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'header :In-Reply-To:1': 0.27; 'rest': 0.29; 'message-id:@mail.gmail.com': 0.30; 'skip:( 20': 0.30; '"",': 0.31; '>>>>': 0.31; 'file': 0.32; '(most': 0.33; 'actual': 0.34; 'received:google.com': 0.35; 'skip:" 50': 0.36; "didn't": 0.36; 'error.': 0.37; 'recent': 0.39; '12,': 0.39; 'how': 0.40; 'more': 0.64; 'to:addr:gmail.com': 0.65; '20,': 0.68; 'ethan': 0.84; 'furman': 0.84; 'oscar': 0.84; '2013,': 0.91; '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:content-transfer-encoding; bh=MX0o2UsQ5U3E1YfY4NUAGR6vmzkucrhpXcBedtMfPys=; b=WuVaxMCfeyF+lsxYmofv0cdC4dUHKHLb3Vu6wcVv2RwFLw425fJH1+6IL/mR4HNpLD V7U0HTNuiXomejDqaFGyzDRiNAOCaPDZDg0tMKI5tBlGxq9B7kxtE4kyn7DxPrEEVwqG TYWhtLnqC8hIlEEl1MNfsn88zxd1uvqY6k1K9CJS8Cb8esmbjsOe+YRsGAFiD1YRan/v YOQzKDrHKWbcTokiYW8d4scScOcsUoGkCeDbpCVi26GAIygujR0EXu8r+IR0tUHDksba YboFIv0L1SiPA2CdbRBQLIq/kEk3aAL1wawB1XNSxWupNfjtqJR0jjjrGs8GBacxoDvi QYEQ== X-Received: by 10.220.105.199 with SMTP id u7mr31333592vco.1.1379418977795; Tue, 17 Sep 2013 04:56:17 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Oscar Benjamin Date: Tue, 17 Sep 2013 12:55:57 +0100 Subject: Re: statsmodels.api To: Davide Dalmasso Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 52 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379418990 news.xs4all.nl 15965 [2001:888:2000:d::a6]:42698 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54282 On 17 September 2013 11:10, Davide Dalmasso wro= te: > Il giorno luned=EC 16 settembre 2013 17:47:55 UTC+2, Ethan Furman ha scri= tto: >> >> 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 "", line 1, in > import statsmodels.api as sm > File "C:\Python33\lib\site-packages\statsmodels\api.py", line 1, in > from . import iolib, datasets, tools > File "C:\Python33\lib\site-packages\statsmodels\iolib\__init__.py", lin= e 1, in > from .foreign import StataReader, genfromdta, savetxt > File "C:\Python33\lib\site-packages\statsmodels\iolib\foreign.py", line= 20, in > import statsmodels.tools.data as data_util > File "C:\Python33\lib\site-packages\statsmodels\tools\__init__.py", lin= e 1, in > from .tools import add_constant, categorical > File "C:\Python33\lib\site-packages\statsmodels\tools\tools.py", line 8= , in > from scipy.interpolate import interp1d > File "C:\Python33\lib\site-packages\scipy\interpolate\__init__.py", lin= e 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 52= 9, in > 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