> [jenkins@jenkins BUILD_TAG_validate_Fri_Jul_30_15_31_30_2021_]$ sudo 
/opt/cisco/aci/python2.7/bin/python
> sphinx-build -b html -d _build/doctrees   . _build/html
> make: sphinx-build: Command not found

> Works without sudo:

> [jenkins@jenkins BUILD_TAG_validate_Fri_Jul_30_15_31_30_2021_]$ 
/opt/cisco/aci/python2.7/bin/python
> sphinx-build -b html -d _build/doctrees   . _build/html
> Running Sphinx v1.8.5

You can use some dangerous path hack w/o touching tha pip rabbit hole

   1. Locate your sphinx-build with ``$ type sphinx-build``
      or ``$ which sphinx-build``

   2. Add its location to sudo ``secure_path``
      <https://superuser.com/a/927599>

Thanks,
Darren Ng
2021-08-04 WITA

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/b49ba8f3-371a-42c8-97f4-a153c72ff1aen%40googlegroups.com.

Reply via email to