Advanced Installation

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 numpy:

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]

Conda Install

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 trimesh:

Ubuntu Notes

Blender and openSCAD are soft dependencies used for boolean operations with subprocess, you can get them with apt:

sudo apt-get install openscad blender

Windows Notes

The easiest way to get going on Windows is to install the Anaconda Python distribution.