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

"pip install paddlepaddle-gpu==0.13.0" error #11394

Closed
sneaxiy opened this issue Jun 12, 2018 · 5 comments
Closed

"pip install paddlepaddle-gpu==0.13.0" error #11394

sneaxiy opened this issue Jun 12, 2018 · 5 comments
Assignees

Comments

@sneaxiy
Copy link
Collaborator

sneaxiy commented Jun 12, 2018

After installing paddle using pip install paddlepaddle-gpu==0.13.0, error occurs when import paddle.fluid as fluid:

$ python -m yep -v resnet.py
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/zengjinle/.local/lib64/python2.7/site-packages/yep.py", line 174, in <module>
    main()
  File "/home/zengjinle/.local/lib64/python2.7/site-packages/yep.py", line 148, in main
    __main__.__dict__)
  File "/home/zengjinle/.local/resnet.py", line 1, in <module>
    import paddle.fluid as fluid
  File "/home/zengjinle/.local/lib64/python2.7/site-packages/paddle/fluid/__init__.py", line 17, in <module>
    import framework
  File "/home/zengjinle/.local/lib64/python2.7/site-packages/paddle/fluid/framework.py", line 22, in <module>
    from . import core
ImportError: libmkldnn.so.0: cannot open shared object file: No such file or directory
PROFILE: interrupts/evictions/bytes = 147/0/1456
@sneaxiy sneaxiy changed the title Install "paddlepaddle-gpu==0.13.0" error "pip install paddlepaddle-gpu==0.13.0" error Jun 12, 2018
@typhoonzero
Copy link
Contributor

Try: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH, same to #11008

@yeyupiaoling
Copy link
Contributor

可以把/usr/local/lib下的os文件复制到/usr/lib就OK了

@sneaxiy
Copy link
Collaborator Author

sneaxiy commented Jun 13, 2018

@yeyupiaoling There's no libmkldnn.so in /usr/local/lib

@typhoonzero
Copy link
Contributor

Oh, try find it under your customized path like /home/zengjinle/.local/lib or /home/zengjinle/.local/lib64

@typhoonzero typhoonzero assigned typhoonzero and unassigned reyoung Jun 13, 2018
@sneaxiy
Copy link
Collaborator Author

sneaxiy commented Jun 13, 2018

@typhoonzero I've found it in ~/.local/lib. Thanks a lot!

@sneaxiy sneaxiy closed this as completed Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants