title: Error: Could not symlink Frameworks/Python.framework/Versions/3.9/Headers
body: <p>I am getting error while updating python to latest version.</p>
  <pre class="lang-sh prettyprint-override"><code>brew update &amp;&amp; brew upgrade python
  
  </code></pre>
  <pre class="lang-sh prettyprint-override"><code>9.0_2/Frameworks/Python.framework/Python
  /usr/local/Frameworks/Python.framework/Resources -&gt; /usr/local/Cellar/python@3.9/3.9.0_2/Frameworks/Python.framework/Resources
  Error: Could not symlink Frameworks/Python.framework/Versions/3.9/Headers
  Target /usr/local/Frameworks/Python.framework/Versions/3.9/Headers
  is a symlink belonging to python@3.9. You can unlink it:
    brew unlink python@3.9
  
  To force the link and overwrite all conflicting files:
    brew link --overwrite python@3.9
  </code></pre>