Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to import pclpy with conda Python 3.6 on CentOS 7.7 and Ubuntu 18.04 #90

Open
andrewfengusa opened this issue Jun 15, 2021 · 2 comments

Comments

@andrewfengusa
Copy link

Hi,

I got the following error when trying to import pclpy :

Traceback (most recent call last):
File "", line 1, in
File "/home/centos/miniconda3/envs/STPLS_Centos/lib/python3.6/site-packages/pclpy/init.py", line 3, in
import pclpy.pcl as pcl
ImportError: libqhull_p.so.7: cannot open shared object file: No such file or directory

I followed the instruction on the page and use "conda install -c conda-forge -c davidcaron pclpy". From the conda message it looks like the qhull is also part of the installation. Not sure why it's complaining about the missing .so.

To make sure this is not a CentOS specific issue, I also tried the same setup on Ubuntu 18.04 and still got the same errors. Any guidance about how to fix this problem would be appreciated. Thanks.

@Pilat66
Copy link

Pilat66 commented Jul 8, 2021

I confirm:

Ubuntu 20.04 ,
conda 4.10.3
Python 3.8.10

    import pclpy
  File "/home/reestr/miniconda3/envs/pdal/lib/python3.8/site-packages/pclpy/__init__.py", line 3, in <module>
    import pclpy.pcl as pcl
ImportError: libqhull_p.so.7: cannot open shared object file: No such file or directory

@I3lacx
Copy link

I3lacx commented Nov 18, 2021

As mentioned in #91 this worked for me:
conda install -c conda-forge/label/gcc7 qhull

Ubuntu 18.04
Python 3.8.12
conda 4.10.3

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

No branches or pull requests

3 participants