<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">  "Any Python package that you install with brew will install the Homebrew Python build."</div><div class=""><br class=""></div>  Sure in general with python on Apple, but you ignored my statement:  <div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$ which sphinx-build</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/usr/local/opt/sphinx-doc/bin/sphinx-build</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">~/Src/petsc/src/ksp/ksp/interface</span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class=""><b class=""> (master=)</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> arch-master</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$ more /usr/local/opt/sphinx-doc/bin/sphinx-build</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#!/usr/local/Cellar/sphinx-doc/3.0.4/libexec/bin/python3.8</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># -*- coding: utf-8 -*-</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">import re</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">import sys</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">from sphinx.cmd.build import main</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">sphinx seems to be carrying around its own python internally, thus quite rightly getting Jed upset about packaging on Apple of open source software.  Or perhaps I misunderstand that line.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  Barry</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div><br class=""><blockquote type="cite" class=""><div class="">On Jul 7, 2020, at 2:40 AM, Lisandro Dalcin <<a href="mailto:dalcinl@gmail.com" class="">dalcinl@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 7 Jul 2020 at 05:37, Barry Smith <<a href="mailto:bsmith@petsc.dev" class="">bsmith@petsc.dev</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br class="">
  My fault, for some reason sphinx from brew installed its own private python so I had to do the pip at that.<br class="">
<br class=""></blockquote><div class=""><br class=""></div><div class="">Any Python package that you install with brew will install the Homebrew Python build. Start using that one, and forget about the system Python install.</div><div class="">From brew you get `/usr/local/bin/python3`, and then you can freely `python3 -m pip install <package>`</div><div class="">I further symlink `/usr/local/bin/{python|pip}3` to `~/bin/{python|pip}`, so I don't have to deal ever again with the EOLed system Apple Python 2.</div><div class=""><br class=""></div></div>-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><div class="">Lisandro Dalcin<br class="">============<br class="">Research Scientist<br class="">Extreme Computing Research Center (ECRC)<br class="">King Abdullah University of Science and Technology (KAUST)<br class=""><a href="http://ecrc.kaust.edu.sa/" target="_blank" class="">http://ecrc.kaust.edu.sa/</a><br class=""></div></div></div></div>
</div></blockquote></div><br class=""></div></body></html>