CloudCompare / CloudComPy

Python wrapper for CloudCompare
Other
283 stars 40 forks source link

Cannot install on Windows using Conda #138

Open atdunwoody opened 11 months ago

atdunwoody commented 11 months ago

Hi there,

I installed the CloudComPy310 environment using the following commands

conda update -y -n base -c defaults conda conda activate conda create -y --name CloudComPy310 python=3.10 conda activate CloudComPy310 conda config --add channels conda-forge conda config --set channel_priority strict conda install -y "boost=1.74" "cgal=5.4" cmake draco ffmpeg "gdal=3.5" jupyterlab laszip "matplotlib=3.5" "mysql=8.0" "numpy=1.22" "opencv=4.5" "openmp=8.0" "pcl=1.12" "pdal=2.4" "psutil=5.9" pybind11 "qhull=2020.2" "qt=5.15.4" "scipy=1.8" sphinx_rtd_theme spyder tbb tbb-devel "xerces-c=3.2"

However, the envCloudComPy.bat file wasn't present in my env directory after isntallation, as shown below. I added the file manually to the folder, but running it gave me an error. How can I setup this environment correctly?

image
atdunwoody commented 11 months ago

Ah I read the installation instructions again and saw that Windows 10 is only supported... if I am running WIndows 11 or WIndows Server 2022 is there any way I can install this?

prascle commented 11 months ago

Hello, Of course Windows 11 is supported, I started development with Windows 10 a long time ago and switched to Windows 11. I test everything with Windows 11 and no longer check if it works with Windows 10 (no known compatibility issues so far). I'll fix the documentation, sorry about that. Regarding your problem, envCloudComPy.bat is provided in the binary tar file that you should have downloaded here and unzipped somewhere on your system. From the conda prompt, you activate the CloudComPy310 environment and cd to the unzipped directory. Here, envCloudComPy.bat should be present and working. Note: if you install everything on your home (miniconda3, CloudComPy) , you don't need administrator rights... Let me know if you still have problems.

Best, Paul

atdunwoody commented 11 months ago

That worked for me, thanks so much!