ethnhe / PVN3D

Code for "PVN3D: A Deep Point-wise 3D Keypoints Hough Voting Network for 6DoF Pose Estimation", CVPR 2020
MIT License
482 stars 105 forks source link

PCL library import error #111

Closed elevenjiang1 closed 2 years ago

elevenjiang1 commented 2 years ago

After installing the python-pcl follow readme to install pcl, I still can not import PCL

# install dependencies
sudo apt install libpcl-dev libvtk6-dev
# clone fork with fix for Ubuntu 18.04
git clone https://github.com/Tuebel/python-pcl
cd python-pcl
python3 setup.py install

When I import python3 and import pcl, it occurs error:

ModuleNotFoundError: No module named 'pcl._pcl'
elevenjiang1 commented 2 years ago

Should follow the official install commands: https://github.com/Tuebel/python-pcl (In its Common setting)

# install dependencies
sudo apt install libpcl-dev libvtk6-dev
# clone fork with fix for Ubuntu 18.04
git clone https://github.com/Tuebel/python-pcl
cd python-pcl
python3 setup.py build_ext -i
sudo python3 setup.py install