title: Mac brew doctor show Warning: Homebrew's sbin was not found in your PATH but you have installed formulae that put executables in /usr/local/sbin
body: <p>I try to upgrade python2.7 to python3 on macOS Catalina, when I run <code>brew doctor</code>, it shows:</p>
  <pre><code>Warning: Homebrew's sbin was not found in your PATH but you have installed
  formulae that put executables in /usr/local/sbin.
  Consider setting the PATH for example like so:
    echo 'export PATH=&quot;/usr/local/sbin:$PATH&quot;' &gt;&gt; ~/.zshrc
  </code></pre>
  <p>So I try the command <code>echo 'export PATH=&quot;/usr/local/sbin:$PATH&quot;' &gt;&gt; ~/.zshrc</code> which did not works.</p>