CloudComPy icon indicating copy to clipboard operation
CloudComPy copied to clipboard

Recent updates on conda packages are not compatible with CloudComPy binaries

Open prascle opened this issue 3 years ago • 1 comments

For Windows and Linux CloudComPy conda binaries, after installing a new conda environment for CloudComPy, or reinstalling it, following the instructions in the README, neither CloudCompare nor CloudComPy works any more (missing librairies or import problems). This is due to recent updates of the Conda packages, incompatible with the CloudComPy binaries.

The solution is to impose the versions of the conda packages. The following works for Windows

conda update -y -n base -c defaults conda
conda activate
conda create -y --name CloudComPy39 python=3.9
   # --- erase previous env if existing
conda activate CloudComPy39
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install -y "boost=1.72" "cgal=5.0" cmake "ffmpeg=4.3" "gdal=3.3" "jupyterlab=3.2" "matplotlib=3.5" "mysql=8.0" "numpy=1.22" "opencv=4.5" "openmp=8.0" "pcl=1.11" "pdal=2.3" "psutil=5.9" "qt=5.12" "scipy=1.8" "sphinx_rtd_theme=1.0" "spyder=5.2" "tbb=2021.5" "tbb-devel=2021.5" "xerces-c=3.2"

For Linux, a similar solution is beeing tested and will be proposed as soon as possible. Paul

prascle avatar Mar 30 '22 19:03 prascle

The command is slightly different or Linux:

conda update -y -n base -c defaults conda
conda activate
conda create -y --name CloudComPy39 python=3.9
   # --- erase previous env if existing
conda activate CloudComPy39
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install -y "boost=1.72" "cgal=5.0" cmake ffmpeg "gdal=3.3" jupyterlab "matplotlib=3.5" "mysql=8.0" "numpy=1.22" "opencv=4.5.3" "openmp=8.0" "pcl=1.11" "pdal=2.3" "psutil=5.9" "qhull=2019.1" "qt=5.12" "scipy=1.8" sphinx_rtd_theme spyder tbb tbb-devel "xerces-c=3.2"

Paul

prascle avatar Mar 30 '22 21:03 prascle