Public bug reported: This was reported in upstream: https://github.com/pypa/pip/issues/8260, but it is proven to be mistake of distro package.
I can verify that. The error is gone by upgrading pip to upstream version, with this command (in a virual environment): python3 -m pip install -U pip My system: Ubuntu 20.04 (64bit) Installed python3-pip version: 20.0.2-5ubuntu1 ** Affects: python-pip (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880799 Title: Error: cannot import name 'compatible_tags' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1880799/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs