Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行首页demo报错 #10989

Closed
jaegerstar opened this issue May 29, 2018 · 15 comments
Closed

运行首页demo报错 #10989

jaegerstar opened this issue May 29, 2018 · 15 comments
Assignees
Labels
User 用于标记用户问题

Comments

@jaegerstar
Copy link

jaegerstar commented May 29, 2018

Traceback (most recent call last):
File "test.py", line 4, in
paddle.init(use_gpu=False, trainer_count=1)
File "/home/work/zhangjie/paddle/lib/python2.7/site-packages/paddle/v2/init.py", line 128, in init
import py_paddle.swig_paddle as api
File "/home/work/zhangjie/paddle/lib/python2.7/site-packages/py_paddle/init.py", line 15, in
from util import DataProviderWrapperConverter
File "/home/work/zhangjie/paddle/lib/python2.7/site-packages/py_paddle/util.py", line 18, in
import swig_paddle
File "/home/work/zhangjie/paddle/lib/python2.7/site-packages/py_paddle/swig_paddle.py", line 28, in
_swig_paddle = swig_import_helper()
File "/home/work/zhangjie/paddle/lib/python2.7/site-packages/py_paddle/swig_paddle.py", line 24, in swig_import_helper
_mod = imp.load_module('_swig_paddle', fp, pathname, description)
ImportError: libmklml_intel.so: cannot open shared object file: No such file or directory

是采用pip安装的方式

@yeyupiaoling
Copy link
Contributor

@jaegerstar libmklml_intel.so这个文件不存在,应该是在/usr/local/lib下,你找找是不是在这里,如果是的话,复制到/usr/lib

@jaegerstar
Copy link
Author

jaegerstar commented May 29, 2018

@yeyupiaoling 两个文件夹都没有

@tensor-tang
Copy link
Contributor

可以看下是不是在/lib

@ftry
Copy link

ftry commented May 29, 2018

去哪里下载这个文件libmklml_intel.so
????

@yeyupiaoling
Copy link
Contributor

image
@jaegerstar

@yeyupiaoling
Copy link
Contributor

@jaegerstar 你升级试试,pip install paddlepaddle -U

@tensor-tang
Copy link
Contributor

@ftry 下载链接在这个里面 https://github.com/PaddlePaddle/Paddle/blob/develop/cmake/external/mklml.cmake#L33
或者在这里下载。

@chengduoZH
Copy link
Contributor

@jaegerstar @ftry 你们是怎么安装paddle的,我这边试过用pip install paddlepaddlepip install paddlepaddle-gpu装paddle,都能找到libmklml_intel.so的,就在/usr/local/lib

@ftry
Copy link

ftry commented May 29, 2018

我是用pip install paddlepaddle 下载的

@ftry
Copy link

ftry commented May 29, 2018

真没有这个文件!!!要不你发我吧

@yeyupiaoling
Copy link
Contributor

升级一下吧,pip install paddlepaddle -U @ftry

@chengduoZH
Copy link
Contributor

chengduoZH commented May 29, 2018

@ftry 你pip install paddlepaddle-gpu试试?看看能否在/usr/local/lib里面找到libmkldnn.so

@ftry
Copy link

ftry commented May 29, 2018

@chengduoZH 我是通过pycharm建立的虚拟环境,使用pip install paddlepaddle的
用这种方式有问题吗?

@chengduoZH
Copy link
Contributor

抱歉 我们没在pycharm建立的虚拟环境中测试过

@chengduoZH
Copy link
Contributor

This issue is similar with #11008.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User 用于标记用户问题
Projects
None yet
Development

No branches or pull requests

5 participants