背景
centos7
执行的命令
docker build -t xx .
报错
File "/usr/lib/python3.4/site-packages/pip-20.2b1-py3.4.egg/pip/_vendor/pkg_resources/__init__.py", line 92, in <module>
raise RuntimeError("Python 3.5 or later is required")
RuntimeError: Python 3.5 or later is required
解决的方案
yum install -f python-pip python3-pip
参考
https://askubuntu.com/questions/1215606/how-to-fix-updated-pip-runtimeerror-python-3-5-or-later-is-required