D
Davide Dalmasso
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 "<pyshell#1>", line 1, in <module>
import statsmodels.api
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 *
Why?
Thanks for any help you will want to give me!
Davide
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 "<pyshell#1>", line 1, in <module>
import statsmodels.api
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 *
Why?
Thanks for any help you will want to give me!
Davide