After Installing MinerU With Uv Tool Install, You Still Need Cuda and Ninja

Install MinerU with:

uv tool install "mineru[all]"

After that, mineru and mineru-gradio can both start. But the first real conversion may still fail.

The first error I hit was:

RuntimeError: Could not find nvcc and default cuda_home='/usr/local/cuda' doesn't exist

After installing CUDA, the next error was:

FileNotFoundError: [Errno 2] No such file or directory: 'ninja'

That makes the problem pretty clear: uv tool install handles Python packages, but hybrid-engine still depends on system-level tools.

On Arch, install both with:

sudo pacman -S cuda ninja

Then check them:

which nvcc
which ninja

Restart mineru-gradio or mineru and try again.