Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

python-pcl not working with python 3.6.x in Ubuntu 18.04 LTS #399

Open
ArghyaChatterjee opened this issue Aug 23, 2021 · 6 comments
Open

Comments

@ArghyaChatterjee
Copy link

My Environment

  • Operating System and version: Ubuntu 18.04 LTS
  • Compiler: python 3.6.9
  • PCL Version: 1.8.x
  • Cython Version: 0.29.16

When I tried to install python-pcl with pip3:

pip3 install python-pcl

It downloads the wheel file python_pcl-0.3.0a1-cp36-cp36m-manylinux1_x86_64.whl. After installing, when I tried to import:

arghya@arghya-Erazer-X7849-MD60379:~$ python3
Python 3.6.9 (default, Jan 26 2021, 15:33:00) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pcl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/arghya/.local/lib/python3.6/site-packages/pcl/__init__.py", line 2, in <module>
    from ._pcl import *
ImportError: libpcl_keypoints.so.1.7: cannot open shared object file: No such file or directory

N.B: I can use python-pcl with python 2.7 with same configuration in my pc using sudo apt-get install libpcl-dev -y command but can't work with python 3.6.x and my project requires python version 3.

@Marina-Banov
Copy link

you can try with pip install python3-pcl

@DanielTakeshi
Copy link

Unfortunately it seems like many of us are getting this issue. See #317

@459737087
Copy link

Unfortunately it seems like many of us are getting this issue. See #317

Hi, this is a bad circle, you add this link,and that link involves this link.

@459737087
Copy link

and I can't run it in python3.X

@BeBeBerr
Copy link

and I can't run it in python3.X

It should work with python3.6. See #374 . You need to manually copy the package folder though.

@pk1996
Copy link

pk1996 commented Dec 31, 2021

Try this.
#371

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants