As mentioned in 
https://github.com/apache/tvm/pull/18732#issuecomment-3888156954 I was not able 
to build the documentation locally on my Ubuntu 24.04

Trying instructions from 
https://github.com/apache/tvm/tree/9eac0e1635c83904aedd1100c9471c608d89a7ad/docs#build-locally

First, Docker-based leads to an error:

```
$ USE_SCCACHE=0 DEBUG=1 python tests/scripts/ci.py docs --cpu

+ python3 -m pip install Sphinx==4.2.0 tlcpack-sphinx-addon==0.2.1 
image==1.5.33 
git+https://github.com/sphinx-gallery/sphinx-gallery.git@6142f1791151849b5bec4bf3959f75697ba226cd
 sphinx-rtd-theme==1.0.0 matplotlib==3.3.4 commonmark==0.9.1 Pillow==8.3.2 
autodocsumm==0.2.7 docutils==0.16

ERROR: Could not install packages due to an OSError: [Errno 13] Permission 
denied: 'WHEEL'
Check the permissions.
```

Second, native, leads to an error:

```
$ ./docker/bash.sh ci_gpu -c 'python3 -m pip install --quiet 
tlcpack-sphinx-addon==0.2.1 && python3 -m pip freeze'

Error: Unknown flag: -c
```

I found a few issues in the documentation and just want to check the fixes 
before opening a pull request.  So any instructions that allow me to do that 
will do the trick. Hints are welcome :folded_hands:





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/doc-building-documentation-locally/18927/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/9297c2d17c063311741c0ad28c9fe3ae2ee17fe93774c9a041d9bfcaa25a4f2f).

Reply via email to