We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3155217 commit f1b966eCopy full SHA for f1b966e
tools/install_pip.sh
@@ -89,6 +89,10 @@ function install_get_pip {
89
die $LINENO "Download of get-pip.py failed"
90
touch $LOCAL_PIP.downloaded
91
fi
92
+ # Workaround when pip + setuptools is present alognside distutils
93
+ # ref: https://github.com/pypa/pip/issues/10742
94
+ # Is idempotent for setuptools but will fail when pip is not present
95
+ sudo -H -E python${PYTHON3_VERSION} -m pip uninstall setuptools -y || true
96
sudo -H -E python${PYTHON3_VERSION} $LOCAL_PIP
97
}
98
0 commit comments