1.
sudo vi /etc/apt/sources.list 添加ubuntu16软件源列表: deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
sudo apt-get update
2.
Step1: Add Ubuntu 16 source list Step2: sudo apt-get update step3: pip install python-pcl step4: sudo apt-get install libpcl-keypoints1.7 step5: sudo apt-get install libpcl-outofcore1.7 step6: sudo apt-get install libpcl-people1.7 step7: sudo apt-get install libpcl-recognition1.7 step8: sudo apt-get install libpcl-registration1.7 step9: sudo apt-get install libpcl-segmentation1.7 step10: sudo apt-get install libpcl-surface1.7 Now, if you get error "libpng12-0", do this: sudo add-apt-repository ppa:linuxuprising/libpng12 sudo apt update sudo apt-get install libpng12-0 Step11: sudo apt-get install libpcl-tracking1.7 Step12: sudo apt-get install libflann1.8 Step13: sudo apt-get install libpcl-visualization1.7 Step14: python import pcl
标签:pcl,get,python,sudo,apt,libpcl,install,ubuntu18,ubuntu From: https://www.cnblogs.com/liuweiweitju/p/17655454.html