The only thing required to install
trimesh is numpy.
All other dependencies are ‘soft,’ or trimesh will raise the
ImportError at runtime if a function is called that requires a package that isn’t installed. If you do the most basic install of
trimesh it will only install
pip install trimesh
If you’d like most soft dependencies which should install cleanly, you can use the
easy pip extra:
pip install trimesh[easy]
The easiest way to get going on the most platforms is through a Python provided by conda. You can install Miniconda easily on all major platforms. Then, to install
conda install -c conda-forge scikit-image shapely rtree pyembree # install trimesh and all possible dependencies # if this fails try: pip install trimesh[easy] pip install trimesh[all]
Blender and openSCAD are soft dependencies used for boolean operations with subprocess, you can get them with apt:
sudo apt-get install openscad blender
The easiest way to get going on Windows is to install the Anaconda Python distribution.