ImportError: cannot import name NUMPY_MKL
来源:互联网 发布:淘宝卖会员账号 编辑:程序博客网 时间:2024/05/19 14:01
Traceback (most recent call last):
File "E:/work/workspace/python/pyspark/com/duan/tj/vector/TestGetRequest.py", line 9, in <module>
from gensim.models import Word2Vec
File "D:\Python\Python27\lib\site-packages\gensim\__init__.py", line 6, in <module>
from gensim import parsing, matutils, interfaces, corpora, models, similarities, summarization
File "D:\Python\Python27\lib\site-packages\gensim\parsing\__init__.py", line 7, in <module>
from .preprocessing import *
File "D:\Python\Python27\lib\site-packages\gensim\parsing\preprocessing.py", line 10, in <module>
from gensim import utils
File "D:\Python\Python27\lib\site-packages\gensim\utils.py", line 42, in <module>
import scipy.sparse
File "D:\Python\Python27\lib\site-packages\scipy\__init__.py", line 61, in <module>
from numpy._distributor_init import NUMPY_MKL # requires numpy+mkl
ImportError: cannot import name NUMPY_MKL
环境:
windows 64
python 2.7_32
解决方法:
(1)下载:numpy-1.11.3+mkl-cp27-cp27m-win32.whl,scipy下载地址:点击打开链接
(2)安装:pip install numpy-1.11.3+mkl-cp27-cp27m-win32.whl,即可安装成功
- ImportError: cannot import name 'NUMPY_MKL'
- ImportError: cannot import name NUMPY_MKL
- ImportError: cannot import name 'NUMPY_MKL' (skicit_learn)
- Win10下:ImportError: cannot import name NUMPY_MKL
- Python ImportError: cannot import name NUMPY_MKL
- 微软LightGBM Windows下Python安装:ImportError: cannot import name NUMPY_MKL
- Windows10下安装numpy和scipy(避免“ImportError: cannot import name NUMPY_MKL”)
- ImportError: cannot import name Pseudo
- Python ImportError: cannot import name *
- ImportError: cannot import name IncompleteRead
- ImportError: cannot import name HTTPSHandler
- importError: cannot import name 'izip_longest'
- ImportError: cannot import name mkdtemp
- ImportError: cannot import name HTTPSHandler
- ImportError:cannot import name game
- ImportError: cannot import name Process
- ImportError: cannot import name webdriver
- ImportError: cannot import name ContextualZipFile
- jstree中文github文档
- apache加载模块的说明
- Matlab 形态学图像处理
- C++ STL/ (13) 常用遍历算法
- bzoj 4199: [Noi2015]品酒大会 后缀数组+并查集
- ImportError: cannot import name NUMPY_MKL
- 模块化和组件化的理解
- 【linux】chwon和chmod区别
- [python爬虫]使用Python爬取网易新闻
- Jquery实现无限级树状结构并动态添加增删改等编辑功能
- CodeForces 796A Buying A House
- C++中break、continue、return的区别
- Scala中的下划线到底有多少种应用场景?
- Spring学习-19:Spring的AOP:带有切点的切面