-
Notifications
You must be signed in to change notification settings - Fork 51
Description
***Describe the bug
After following the official Windows installation instructions, the following error occurs when trying to import cloudComPy in a properly configured conda environment:
ImportError: DLL load failed while importing _cloudComPy: The specified module could not be found.
***Root Cause
Using Dependencies, I discovered that _cloudComPy.pyd depends on CCCoreLib.dll, which in turn depends on mpir.dll. However: mpir.dll is not included in the distributed binaries.
It seems that it is not mentioned in the installation documentation.
Therefore, the import fails unless the user manually installs it.
***Solution
Installing mpir via conda resolves the issue:
conda install -c conda-forge mpir
This places mpir.dll in the environment’s Library\bin directory, allowing the import to work correctly.
Recommendation
Please update the installation documentation to include this missing dependency step. It would also be helpful to bundle mpir.dll in future Windows binary releases.
System info
OS: Windows 10 64-bit
Python: 3.10
CloudComPy version: CloudComPy310_20240927 binary release
Installed via: Conda + downloaded ZIP (per official docs)