ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

installing PCL

asked 2018-10-18 03:45:58 -0500

mohamed ahmed gravatar image

updated 2021-04-24 03:15:15 -0500

miura gravatar image

Hello, i'm trying to install the PCL library but i'm facing a little problems.I followed this link http://www.pointclouds.org/downloads/... but when i try the first command

sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl

and then

sudo apt-get update

i got this

Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/v-launchpad-jochen-sprickerhof-de/pcl/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/v-launchpad-jochen-sprickerhof-de/pcl/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

so when i run the third command

sudo apt-get install libpcl-all

i got this

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libpcl-all

and when i try the Debian install i face the same problem, i think the package maybe moved to a different repository. i'm using Kinetic-kame ubuntu 16 thanks in advance

edit retag flag offensive close merge delete

Comments

1

Just making sure: this is not the PCL support forum, that would be www.pcl-users.org.

If you are trying to setup PCL for use with ROS, then adding that PPA should not be necessary.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-18 03:59:10 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-23 02:34:20 -0500

askkvn gravatar image

updated 2020-04-29 01:39:57 -0500

Try this,

sudo add-apt-repository ppa:sweptlaser/python3-pcl
sudo apt update
sudo apt install python3-pcl

After you've done that then you should be able to run:

python3 -c 'import pcl'

and it will return with no error (as opposed to ModuleNotFoundError: No module named 'pcl').

Tested on:

Ubuntu 18.04 LTS

Python 3.6.9

Reference link

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-10-18 03:45:58 -0500

Seen: 3,523 times

Last updated: Apr 29 '20