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 error in official docker image #11452

Closed
tonyyang-svail opened this issue Jun 13, 2018 · 1 comment · Fixed by #11596 or #11806
Closed

pip install error in official docker image #11452

tonyyang-svail opened this issue Jun 13, 2018 · 1 comment · Fixed by #11596 or #11806
Assignees
Labels
User 用于标记用户问题

Comments

@tonyyang-svail
Copy link

λ / pip install paddlepaddle
Collecting paddlepaddle
  Downloading https://files.pythonhosted.org/packages/bb/dc/6325d2c9a2d66d882656b924f76cbb4bd7ad1c01a172cb2a12283e082f4b/paddlepaddle-0.13.0-cp27-cp27mu-manylinux1_x86_64.whl (65.4MB)
    100% |████████████████████████████████| 65.4MB 22kB/s 
Requirement already satisfied: graphviz in /usr/local/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: scipy>=0.19.0 in /usr/local/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: nltk>=3.2.2 in /usr/local/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: opencv-python in /usr/local/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: LinkChecker in /usr/local/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: numpy>=1.12 in /usr/local/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: Pillow in /usr/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: matplotlib in /usr/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: recordio>=0.1.0 in /usr/local/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: requests==2.9.2 in /usr/local/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: rarfile in /usr/local/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: protobuf==3.1 in /usr/local/lib/python2.7/dist-packages (from paddlepaddle)
Requirement already satisfied: six in /usr/local/lib/python2.7/dist-packages (from nltk>=3.2.2->paddlepaddle)
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from protobuf==3.1->paddlepaddle)
Installing collected packages: paddlepaddle
Successfully installed paddlepaddle-0.13.0
You are using pip version 9.0.3, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
λ / python
Python 2.7.12 (default, Dec  4 2017, 14:50:18) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from paddle import fluid
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/paddle/fluid/__init__.py", line 17, in <module>
    import framework
  File "/usr/local/lib/python2.7/dist-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

the LD_LIBRARY_PATH needs to be manually exported to /usr/local/lib.

@tonyyang-svail tonyyang-svail added User 用于标记用户问题 labels Jun 13, 2018
@chengduoZH
Copy link
Contributor

chengduoZH commented Jun 14, 2018

Similar with #9034 #10989 #11002

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