Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: statsmodels.api Date: Mon, 16 Sep 2013 16:30:37 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 38 Message-ID: References: NNTP-Posting-Host: panix1.panix.com X-Trace: reader1.panix.com 1379349037 6307 166.84.1.1 (16 Sep 2013 16:30:37 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 16 Sep 2013 16:30:37 +0000 (UTC) User-Agent: nn/6.7.3 Xref: csiph.com comp.lang.python:54236 In Davide Dalmasso writes: > 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 "", line 1, in > import statsmodels.api > 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", line 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", line 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", 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 * This error traceback appears incomplete. Did you paste the whole thing? -- John Gordon A is for Amy, who fell down the stairs gordon@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies"