- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I installed MKL and the Intel Python Distribution for Windows 10 and I'm having trouble importing stats models.api.
File "<ipython-input-8-6030a6549dc0>", line 1, in <module>
import statsmodels.api as sm
File "C:\Anaconda3\lib\site-packages\statsmodels\api.py", line 16, in <module>
from .tsa import api as tsa
File "C:\Anaconda3\lib\site-packages\statsmodels\tsa\api.py", line 2, in <module>
from .arima_model import ARMA, ARIMA
File "C:\Anaconda3\lib\site-packages\statsmodels\tsa\arima_model.py", line 16, in <module>
from scipy.signal import lfilter
File "C:\Anaconda3\lib\site-packages\scipy\signal\__init__.py", line 298, in <module>
from .windows import *
File "C:\Anaconda3\lib\site-packages\scipy\signal\windows.py", line 7, in <module>
from scipy import fftpack, linalg, special
File "C:\Anaconda3\lib\site-packages\scipy\fftpack\__init__.py", line 98, in <module>
from numpy.fft import fft_ as fft
ImportError: cannot import name 'fft_'
Any help would be appreciated.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This is reminiscent of https://software.intel.com/en-us/forums/intel-distribution-for-python/topic/722582 where pip installing a package into a Intel Distribution for Python downgraded numpy.
Please check the version of numpy. Here is what I see:
Python 3.5.3 |Intel Corporation| (default, Apr 27 2017, 18:08:47) [GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux Type "help", "copyright", "credits" or "license" for more information. Intel(R) Distribution for Python is brought to you by Intel Corporation. Please check out: https://software.intel.com/en-us/python-distribution >>> import numpy as np >>> np.__version__ '1.11.3'
Thank you,
Oleksandr

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page