GithubHelp home page GithubHelp logo

安装失败 about paddle HOT 11 CLOSED

paddlepaddle avatar paddlepaddle commented on May 2, 2024
安装失败

from paddle.

Comments (11)

gangliao avatar gangliao commented on May 2, 2024

we do not test PaddlePaddle on cuda 8.0 and cudnn v5.1, we will test these version later.

from paddle.

elvinpoon avatar elvinpoon commented on May 2, 2024

建议发布cuda8.0+cuDNN 5的binary release

from paddle.

reyoung avatar reyoung commented on May 2, 2024

This issue is duplicated, please see #3 for the progress of supporting cuda 8.0

from paddle.

stoneyang avatar stoneyang commented on May 2, 2024

@elvinpoon see my PR #15 , it is merged into the master branch. You can check it out and rebuild the whole repo :)

But, GPU version's still not functioning well, see #18 for more details on description of it.

from paddle.

kitianFresh avatar kitianFresh commented on May 2, 2024

是啊,我的也是ubuntu16.04,出现错误,什么时候修复啊,等着用呢

from paddle.

gangliao avatar gangliao commented on May 2, 2024

@kitianFresh Can you paste more detail error info?

from paddle.

kitianFresh avatar kitianFresh commented on May 2, 2024

@gangliao My enviroment is ubuntu16.04, First, i use sudo dpkg -i paddle-cpu-0.8.0b1-Linux.deb to install , but failed with error: dependency problems; following is my error message:
Selecting previously unselected package paddle.
(Reading database ... 427947 files and directories currently installed.)
Preparing to unpack paddle-cpu-0.8.0b1-Linux.deb ...
Unpacking paddle (0.8.0b1) ...
dpkg: dependency problems prevent configuration of paddle:
paddle depends on libgflags2; however:
Package libgflags2 is not installed.
paddle depends on libgoogle-glog0; however:
Package libgoogle-glog0 is not installed.
paddle depends on libprotobuf8; however:
Package libprotobuf8 is not installed.

dpkg: error processing package paddle (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
paddle

then, i use sudo apt-get install -f, after that , i install again, but it failed agian! so i manually install dependency , sudo apt-get install libgflags2 libgoogle-glog0 libprotobuf8, but it seems no these lib, and error like this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libgflags2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libgflags2v5:i386 libgflags2v5

Package libgoogle-glog0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libgoogle-glog0v5:i386 libgoogle-glog0v5

Package libprotobuf8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libgflags2' has no installation candidate
E: Package 'libgoogle-glog0' has no installation candidate
E: Package 'libprotobuf8' has no installation candidate

so i use sudo apt-get install libgflags2v5 libgoogle-glog0v5 libprotobuf8, but it failed!!

from paddle.

kitianFresh avatar kitianFresh commented on May 2, 2024

@gangliao Does the bug fix in ubuntu16.04?

from paddle.

gangliao avatar gangliao commented on May 2, 2024

@kitianFresh Can you follow below commands and try it again? Thanks.

sudo apt-get update
sudo apt-get install libgoogle-glog-dev
sudo apt-get install libgflags-dev
sudo apt-get install libgtest-dev
pushd /usr/src/gtest
cmake .
make
sudo cp *.a /usr/lib
popd

from paddle.

kitianFresh avatar kitianFresh commented on May 2, 2024

@gangliao I tried again step by step! but failed again! following is the details.

sudo apt-get update
[sudo] password for kinny: 
Hit:1 http://mirrors.ustc.edu.cn/ubuntu xenial InRelease
Get:2 http://mirrors.ustc.edu.cn/ubuntu xenial-updates InRelease [95.7 kB]
Get:3 http://mirrors.ustc.edu.cn/ubuntu xenial-backports InRelease [92.2 kB]
Get:4 http://mirrors.ustc.edu.cn/ubuntu xenial-security InRelease [94.5 kB]
Get:5 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/multiverse Sources [3,216 B]
Get:6 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/main Sources [201 kB]
Get:7 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/universe Sources [107 kB] 
Get:8 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/main amd64 Packages [413 kB]
Get:9 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/main i386 Packages [408 kB]
Get:10 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/main Translation-en [158 kB]
Get:11 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/universe amd64 Packages [356 kB]
Get:12 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/universe i386 Packages [352 kB]
Get:13 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/universe Translation-en [128 kB]
Get:14 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [107 kB]
Get:15 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/universe DEP-11 64x64 Icons [119 kB]
Get:16 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/multiverse amd64 Packages [5,492 B]
Get:17 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/multiverse i386 Packages [4,284 B]
Get:18 http://mirrors.ustc.edu.cn/ubuntu xenial-backports/main Sources [1,972 B]
Get:19 http://mirrors.ustc.edu.cn/ubuntu xenial-backports/main amd64 Packages [2,552 B]
Get:20 http://mirrors.ustc.edu.cn/ubuntu xenial-backports/main i386 Packages [2,556 B]
Get:21 http://mirrors.ustc.edu.cn/ubuntu xenial-backports/main amd64 DEP-11 Metadata [196 B]
Get:22 http://mirrors.ustc.edu.cn/ubuntu xenial-security/multiverse Sources [728 B]
Get:23 http://mirrors.ustc.edu.cn/ubuntu xenial-security/multiverse amd64 Packages [1,176 B]
Get:24 http://mirrors.ustc.edu.cn/ubuntu xenial-security/multiverse i386 Packages [1,344 B]
Get:25 https://apt.dockerproject.org/repo ubuntu-xenial InRelease [30.2 kB]
Get:26 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages [2,553 B]
Fetched 2,688 kB in 3s (817 kB/s)      
Reading package lists... Done

kinny@kinny-Lenovo-XiaoXin:~$ sudo apt-get install libgoogle-glog-dev 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  authbind gstreamer0.10-gnomevfs gthumb-data libatlas3-base libblas-common libcommons-collections3-java libcommons-dbcp-java
  libcommons-pool-java libecj-java libgfortran3 libgstreamer0.10-0 liblept5 libopenjp2-7 libqgsttools-p1 libqt5clucene5
  libqt5designer5 libqt5help5 libqt5multimedia5-plugins libqt5multimediawidgets5 libtesseract3 libtomcat8-java
  linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-headers-4.4.0-28 linux-headers-4.4.0-28-generic
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-34 linux-headers-4.4.0-34-generic
  linux-headers-4.4.0-36 linux-headers-4.4.0-36-generic linux-headers-4.4.0-38 linux-headers-4.4.0-38-generic
  linux-image-4.4.0-21-generic linux-image-4.4.0-28-generic linux-image-4.4.0-31-generic linux-image-4.4.0-34-generic
  linux-image-4.4.0-36-generic linux-image-4.4.0-38-generic linux-image-extra-4.4.0-21-generic
  linux-image-extra-4.4.0-28-generic linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-34-generic
  linux-image-extra-4.4.0-36-generic linux-image-extra-4.4.0-38-generic linux-signed-image-4.4.0-21-generic
  linux-signed-image-4.4.0-28-generic linux-signed-image-4.4.0-31-generic linux-signed-image-4.4.0-34-generic
  linux-signed-image-4.4.0-36-generic linux-signed-image-4.4.0-38-generic python-numpy python-protobuf python3-pyqt5
  python3-pyqt5.qtmultimedia python3-pyqt5.qtquick python3-pyqt5.qtwebkit python3-sip python3-xlib qml-module-qtquick-controls
  qtdeclarative5-controls-plugin tesseract-ocr tesseract-ocr-chi-sim tesseract-ocr-chi-tra tesseract-ocr-eng tesseract-ocr-equ
  tesseract-ocr-osd tomcat8-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libgflags-dev libgflags2v5 libgoogle-glog0v5
The following NEW packages will be installed:
  libgflags-dev libgflags2v5 libgoogle-glog-dev libgoogle-glog0v5
0 upgraded, 4 newly installed, 0 to remove and 71 not upgraded.
Need to get 240 kB of archives.
After this operation, 1,340 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 libgflags2v5 amd64 2.1.2-3 [54.4 kB]
Get:2 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 libgflags-dev amd64 2.1.2-3 [64.8 kB]
Get:3 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 libgoogle-glog0v5 amd64 0.3.4-0.1 [49.3 kB]
Get:4 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 libgoogle-glog-dev amd64 0.3.4-0.1 [71.3 kB]
Fetched 240 kB in 0s (332 kB/s)               
Selecting previously unselected package libgflags2v5.
(Reading database ... 427964 files and directories currently installed.)
Preparing to unpack .../libgflags2v5_2.1.2-3_amd64.deb ...
Unpacking libgflags2v5 (2.1.2-3) ...
Selecting previously unselected package libgflags-dev.
Preparing to unpack .../libgflags-dev_2.1.2-3_amd64.deb ...
Unpacking libgflags-dev (2.1.2-3) ...
Selecting previously unselected package libgoogle-glog0v5.
Preparing to unpack .../libgoogle-glog0v5_0.3.4-0.1_amd64.deb ...
Unpacking libgoogle-glog0v5 (0.3.4-0.1) ...
Selecting previously unselected package libgoogle-glog-dev.
Preparing to unpack .../libgoogle-glog-dev_0.3.4-0.1_amd64.deb ...
Unpacking libgoogle-glog-dev (0.3.4-0.1) ...
Setting up libgflags2v5 (2.1.2-3) ...
Setting up libgflags-dev (2.1.2-3) ...
Setting up libgoogle-glog0v5 (0.3.4-0.1) ...
Setting up libgoogle-glog-dev (0.3.4-0.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

kinny@kinny-Lenovo-XiaoXin:~$ sudo apt-get install libgflags-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgflags-dev is already the newest version (2.1.2-3).
libgflags-dev set to manually installed.
The following packages were automatically installed and are no longer required:
  authbind gstreamer0.10-gnomevfs gthumb-data libatlas3-base libblas-common libcommons-collections3-java libcommons-dbcp-java
  libcommons-pool-java libecj-java libgfortran3 libgstreamer0.10-0 liblept5 libopenjp2-7 libqgsttools-p1 libqt5clucene5
  libqt5designer5 libqt5help5 libqt5multimedia5-plugins libqt5multimediawidgets5 libtesseract3 libtomcat8-java
  linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-headers-4.4.0-28 linux-headers-4.4.0-28-generic
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-34 linux-headers-4.4.0-34-generic
  linux-headers-4.4.0-36 linux-headers-4.4.0-36-generic linux-headers-4.4.0-38 linux-headers-4.4.0-38-generic
  linux-image-4.4.0-21-generic linux-image-4.4.0-28-generic linux-image-4.4.0-31-generic linux-image-4.4.0-34-generic
  linux-image-4.4.0-36-generic linux-image-4.4.0-38-generic linux-image-extra-4.4.0-21-generic
  linux-image-extra-4.4.0-28-generic linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-34-generic
  linux-image-extra-4.4.0-36-generic linux-image-extra-4.4.0-38-generic linux-signed-image-4.4.0-21-generic
  linux-signed-image-4.4.0-28-generic linux-signed-image-4.4.0-31-generic linux-signed-image-4.4.0-34-generic
  linux-signed-image-4.4.0-36-generic linux-signed-image-4.4.0-38-generic python-numpy python-protobuf python3-pyqt5
  python3-pyqt5.qtmultimedia python3-pyqt5.qtquick python3-pyqt5.qtwebkit python3-sip python3-xlib qml-module-qtquick-controls
  qtdeclarative5-controls-plugin tesseract-ocr tesseract-ocr-chi-sim tesseract-ocr-chi-tra tesseract-ocr-eng tesseract-ocr-equ
  tesseract-ocr-osd tomcat8-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 71 not upgraded.


kinny@kinny-Lenovo-XiaoXin:~$ sudo apt-get install libgtest-dev 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  authbind gstreamer0.10-gnomevfs gthumb-data libatlas3-base libblas-common libcommons-collections3-java libcommons-dbcp-java
  libcommons-pool-java libecj-java libgfortran3 libgstreamer0.10-0 liblept5 libopenjp2-7 libqgsttools-p1 libqt5clucene5
  libqt5designer5 libqt5help5 libqt5multimedia5-plugins libqt5multimediawidgets5 libtesseract3 libtomcat8-java
  linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-headers-4.4.0-28 linux-headers-4.4.0-28-generic
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-34 linux-headers-4.4.0-34-generic
  linux-headers-4.4.0-36 linux-headers-4.4.0-36-generic linux-headers-4.4.0-38 linux-headers-4.4.0-38-generic
  linux-image-4.4.0-21-generic linux-image-4.4.0-28-generic linux-image-4.4.0-31-generic linux-image-4.4.0-34-generic
  linux-image-4.4.0-36-generic linux-image-4.4.0-38-generic linux-image-extra-4.4.0-21-generic
  linux-image-extra-4.4.0-28-generic linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-34-generic
  linux-image-extra-4.4.0-36-generic linux-image-extra-4.4.0-38-generic linux-signed-image-4.4.0-21-generic
  linux-signed-image-4.4.0-28-generic linux-signed-image-4.4.0-31-generic linux-signed-image-4.4.0-34-generic
  linux-signed-image-4.4.0-36-generic linux-signed-image-4.4.0-38-generic python-numpy python-protobuf python3-pyqt5
  python3-pyqt5.qtmultimedia python3-pyqt5.qtquick python3-pyqt5.qtwebkit python3-sip python3-xlib qml-module-qtquick-controls
  qtdeclarative5-controls-plugin tesseract-ocr tesseract-ocr-chi-sim tesseract-ocr-chi-tra tesseract-ocr-eng tesseract-ocr-equ
  tesseract-ocr-osd tomcat8-common
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libgtest-dev
0 upgraded, 1 newly installed, 0 to remove and 71 not upgraded.
Need to get 198 kB of archives.
After this operation, 1,361 kB of additional disk space will be used.
Get:1 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 libgtest-dev amd64 1.7.0-4ubuntu1 [198 kB]
Fetched 198 kB in 0s (406 kB/s)  
Selecting previously unselected package libgtest-dev:amd64.
(Reading database ... 428002 files and directories currently installed.)
Preparing to unpack .../libgtest-dev_1.7.0-4ubuntu1_amd64.deb ...
Unpacking libgtest-dev:amd64 (1.7.0-4ubuntu1) ...
Setting up libgtest-dev:amd64 (1.7.0-4ubuntu1) ...

kinny@kinny-Lenovo-XiaoXin:/usr/src/gtest$ sudo cmake .
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.12") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/gtest
kinny@kinny-Lenovo-XiaoXin:/usr/src/gtest$ sudo make
Scanning dependencies of target gtest
[ 25%] Building CXX object CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 50%] Linking CXX static library libgtest.a
[ 50%] Built target gtest
Scanning dependencies of target gtest_main
[ 75%] Building CXX object CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[100%] Linking CXX static library libgtest_main.a
[100%] Built target gtest_main
kinny@kinny-Lenovo-XiaoXin:/usr/src/gtest$ sudo cp *.a /usr/lib

kinny@kinny-Lenovo-XiaoXin:~$ sudo dpkg -i paddle-cpu-0.8.0b1-Linux.deb 
Selecting previously unselected package paddle.
(Reading database ... 430127 files and directories currently installed.)
Preparing to unpack paddle-cpu-0.8.0b1-Linux.deb ...
Unpacking paddle (0.8.0b1) ...
dpkg: dependency problems prevent configuration of paddle:
 paddle depends on libgflags2; however:
  Package libgflags2 is not installed.
 paddle depends on libgoogle-glog0; however:
  Package libgoogle-glog0 is not installed.
 paddle depends on libprotobuf8; however:
  Package libprotobuf8 is not installed.

dpkg: error processing package paddle (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 paddle


I am sorry. I am not familiar with cmake and linux dependency.So i don't understand what is the real reason for failure in my laptop. Does the dependency change its name in ubuntu16.04? It sames that paddlepaddle want to use name libgflags2 libgoogle-glog0 libprotobuf8 , but its name changed in ubuntu16.04.
Is it possible that my ubuntu16.04 was different from others? I want to know other guys who use ubuntu16.04 encounter this problem.

from paddle.

reyoung avatar reyoung commented on May 2, 2024

ubuntu 16.04 install package is not tested, and maybe sightly different from ubuntu 14.04.

It is recommend to use Docker to run Paddle, see here.

And ubuntu 16.04 install package will be supported soon. Please add another issue for ubuntu 16.04 support.

from paddle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.