Installing MeshMash
MeshMash can be installed using pip or from source. The library requires Python 3.12.Requirements
MeshMash requires Python 3.12 (Python 3.13 is not yet supported)
Installation Methods
- pip (Recommended)
- From Source
- uv (Fast)
Install MeshMash directly from PyPI:This will automatically install all required dependencies.
Dependencies
MeshMash automatically installs the following core dependencies:Core Scientific Libraries
Core Scientific Libraries
- numpy (>=1.26.0): Array operations and numerical computing
- scipy (>=1.15.0): Sparse matrices and scientific algorithms
- pandas (>=2.2.3): Data structures for features and graphs
Geometry Processing
Geometry Processing
- gpytoolbox (>=0.3.3): Computational geometry utilities
- robust-laplacian (>=1.0.0): Robust Laplacian for non-manifold meshes
- pyvista (>=0.44.1): 3D mesh visualization and processing
- fast-simplification (>=0.1.7): Mesh simplification algorithms
Utilities
Utilities
- fastremap (>=1.16.1): Fast array remapping operations
- tqdm-joblib (>=0.0.4): Progress bars for parallel processing
Optional Dependencies
For additional functionality, you may want to install:Why these optional packages?
- pymeshfix: Required for
fix_mesh()function to repair broken meshes - cloud-files: Needed for cloud storage I/O operations (Google Cloud, AWS S3)
- scikit-learn: Used by
project_points_to_mesh()for nearest neighbor search
Verify Installation
Check that MeshMash is installed correctly:Troubleshooting
Python Version Errors
Python Version Errors
MeshMash requires Python 3.12. If you see version errors:
Dependency Conflicts
Dependency Conflicts
If you encounter dependency conflicts, try installing in a fresh virtual environment:
Import Errors
Import Errors
If you get import errors for optional dependencies:
Next Steps
Quick Start Guide
Ready to start processing meshes? Check out the quick start guide for practical examples.