Comments (12)
同样也是在anaconda3中conda create虚拟环境,然后conda install了mkl的包,但是一直报错 import mkl
ImportError: No module named mkl。
解决方法如下:
At least for Anaconda python, this can be fixed by installing the package conda install mkl-service, which allows you to call import mkl
from qrec.
你好,请问我在Ubuntu系统下安装了anaconda,然后为这个项目创建了专门的虚拟环境Python版本是2.7.13,并且pip install mkl成功,但是import mkl的时候还是出现了“ImportError: No module named mkl”的错误,但是如果非这个虚拟环境下我的Python版本对应的是3.5,可以成功import mkl,请问你有遇到过吗?你知道这可能是什么问题吗?谢谢! @feanlau
from qrec.
补充说明一下:在Windows的电脑上也有这个问题的
from qrec.
from qrec.
你是用的anaconda吗?还是原生的python2.7
from qrec.
你好,我用的是原生Python2.7,用pycharm作为编辑器的。我刚刚在anaconda运行成功了程序。那请问在原生的Python2.7环境下,是不是要研究安装mkl扩展,才能运行程序的?
from qrec.
推荐直接用Anaconda吧,基本上自己不用安装包,只要不运行基于tensorflow的算法。mkl我之前有弄过,但过了很久了忘了有没有遇到什么问题,不好意思
from qrec.
非常感谢您的回复!
from qrec.
@bbjy 无需额外安装python 原生版,直接用anconda的bin目录下的python运行即可,不会遇到import error。部分算法需要tensorflow建议安装
from qrec.
@Coder-Yu 感谢您的回复!但是我这边还是没能成功,因为我的anaconda里面的Python是Python3,所以才创建RecQ虚拟环境并指定Python=2.7,但是在Python2.7这个环境里就没能成功安装mkl,只有Python3的环境里有。我再试着弄一下吧,谢谢您!
from qrec.
@Coder-Yu 感谢您的回复!但是我这边还是没能成功,因为我的anaconda里面的Python是Python3,所以才创建RecQ虚拟环境并指定Python=2.7,但是在Python2.7这个环境里就没能成功安装mkl,只有Python3的环境里有。我再试着弄一下吧,谢谢您!
我建议还是再安装一个anaconda2的环境吧。很简单就解决问题了,为什么一定要弄虚拟环境呢。
from qrec.
@Coder-Yu 嗯,我也准备这么解决了,谢谢您!
from qrec.
Related Issues (20)
- 数据集问题 HOT 1
- 关于MHCN的性能问题 HOT 1
- 关于ESRF的问题请教 HOT 6
- Visual image rendering HOT 2
- Performance comparison over different item groups HOT 3
- yelp数据集的疑问 HOT 1
- 用相同的数据集训练,设置相同的种子,相同的参数。MHCN在QRec上的表现明显优于SELFRec是什么原因啊 HOT 5
- 关于ESRF代码如何提取出 alternative neighborhood HOT 3
- KeyError: 1 HOT 8
- 更改训练集和测试集 HOT 4
- 有关新模型训练 HOT 1
- 如何配置evaluation.setup下的-predict参数 HOT 2
- 可视化结果 HOT 2
- LightGCN復現性能問題 HOT 3
- 模型CUNE_BPR运行报错 HOT 1
- Yelp数据集获取 HOT 1
- SimGCL的实现中,为什么要对扰动噪声加l2归一化呢?而且现有扰动的噪声是否太大了? HOT 1
- 关于xsimgcl噪声的一些问题,想请教大佬 HOT 2
- 许多模型在配置好参数后,运行main.py,发现会直接进入evaluate,而没有train HOT 4
- Epinions Download HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qrec.