pcl-dev is required:
$ sudo apt-get update -y
$ sudo apt-get install libpcl-dev -y
non-exhaustive list of the required packages:
pip install --upgrade pip
pip install cython
pip install numpy
clone the source code:
git clone https://github.com/strawlab/python-pcl.git
cd python-pcl
checkout the has that supports python 2.7:
git checkout 9491615033f85db317c9e29b6a9fe89603f97365
use --record in case you want to remove the installation later:
python setup.py build_ext -i
python setup.py install --record files.txt --user
(optional) if later, an installation removal is needed:
args rm -rf < files.txt