davidcaron / pclpy

Python bindings for the Point Cloud Library (PCL)
MIT License
427 stars 59 forks source link

Failed to import pclpy using conda Python 3.8 on Google Colab #77

Open geothan opened 3 years ago

geothan commented 3 years ago

Hello,

i'm trying to import pclpy in a google colab project, but i get:


ModuleNotFoundError Traceback (most recent call last)

in () ----> 1 import pcl ModuleNotFoundError: No module named 'pcl' ---------------------------------------------------------------------------- I tried the following in order to setup the conda environment: ! wget https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-x86_64.sh ! chmod +x Miniconda3-py38_4.9.2-Linux-x86_64.sh ! bash ./Miniconda3-py38_4.9.2-Linux-x86_64.sh -b -f -p /usr/local import sys _ = (sys.path .append("/usr/local/lib/python3.6/site-packages")) !conda install -c conda-forge -c davidcaron pclpy import pcl
cyy280113999 commented 3 years ago

is that you use import pcl instead of import pclpy ?

SilviaMarino commented 1 year ago

It doesn't work in both ways, at least for me. Has someone been able to import this binding in colab?