title: Can't install pip3 for python 3.9
body: <p>I've tried everything, I've tried doing the following:</p>
  <p>curl <a href="https://bootstrap.pypa.io/get-pip.py" rel="nofollow noreferrer">https://bootstrap.pypa.io/get-pip.py</a> -o get-pip.py
  python3.9 get-pip.py</p>
  <p>But that just gives me the following error:</p>
  <pre><code>root@ubuntu18:~# python3.9 get-pip.py
  Traceback (most recent call last):
    File &quot;/root/get-pip.py&quot;, line 24184, in &lt;module&gt;
      main()
    File &quot;/root/get-pip.py&quot;, line 139, in main
      bootstrap(tmpdir=tmpdir)
    File &quot;/root/get-pip.py&quot;, line 120, in bootstrap
      args = determine_pip_install_arguments()
    File &quot;/root/get-pip.py&quot;, line 65, in determine_pip_install_arguments
      import setuptools  # noqa
    File &quot;/usr/lib/python3/dist-packages/setuptools/__init__.py&quot;, line 14, in &lt;module&gt;
      from setuptools.dist import Distribution, Feature
    File &quot;/usr/lib/python3/dist-packages/setuptools/dist.py&quot;, line 24, in &lt;module&gt;
      from setuptools.depends import Require
    File &quot;/usr/lib/python3/dist-packages/setuptools/depends.py&quot;, line 7, in &lt;module&gt;
      from .py33compat import Bytecode
    File &quot;/usr/lib/python3/dist-packages/setuptools/py33compat.py&quot;, line 54, in &lt;module&gt;
      unescape = getattr(html, 'unescape', html_parser.HTMLParser().unescape)
  AttributeError: 'HTMLParser' object has no attribute 'unescape'
  </code></pre>
  <p>And i've sat hours trying different fixes, when i do pip3 --version it shows that its using python 3.6</p>
  <p>And your thinking, why do i need to install it for python 3.9, well the py app im using only supports that and when i try to run it using python3.9 app.py it says that there is missing pip3 modules even though its installed.</p>
  <p>I hope someone can tell me a fix, or what's causing the error.</p>
  <p>Thanks.</p>