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


Install MinerU with:

```bash
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:

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

After installing CUDA, the next error was:

```text
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:

```bash
sudo pacman -S cuda ninja
```

Then check them:

```bash
which nvcc
which ninja
```

Restart `mineru-gradio` or `mineru` and try again.


---

> Author: Nite  
> URL: https://www.nite07.com/en/posts/mineru-uv-tool-install-system-deps/  

