cmeel-qhull
raw JSON → 8.0.2.1 verified Mon Apr 27 auth: no python
cmeel distribution for qhull: provides convex hull, Delaunay triangulation, Voronoi diagrams, and halfspace intersection. Current version 8.0.2.1, released as a Python wheel via cmake-wheel. Release cadence matches upstream qhull updates.
pip install cmeel-qhull Common errors
error ModuleNotFoundError: No module named 'qhull' ↓
cause Direct import of 'qhull' instead of 'cmeel.qhull'.
fix
Use 'import cmeel.qhull'.
error ImportError: cannot import name 'qhull' from 'cmeel' ↓
cause Attempting 'from cmeel import qhull' but cmeel namespace may not expose submodules directly.
fix
Use 'import cmeel.qhull' followed by 'cmeel.qhull' access.
Warnings
gotcha cmeel packages are not importable directly as the library name. Must use 'import cmeel.<lib>' pattern. ↓
fix Use 'import cmeel.qhull' instead of 'import qhull'.
gotcha This package is a distribution of qhull binaries via cmake-wheel; it does not provide Python-level wrapper bindings. You need to use ctypes or cffi to call qhull functions. ↓
fix Use a Python binding library like pyhull, scipy.spatial, or ctypes to access qhull functionality.
deprecated Version scheme includes cmeel-specific suffixes (e.g., .c0, .c1). These are not part of upstream qhull version. ↓
fix Pin to exact version to avoid unexpected builds.
Imports
- qhull wrong
import qhullcorrectimport cmeel.qhull
Quickstart
import cmeel.qhull
import numpy as np
# Example: compute convex hull of random points
points = np.random.rand(30, 3)
# qhull provides access to underlying qhull library; actual usage may require ctypes bindings
print('cmeel.qhull imported successfully')