解决CentOS7环境下使用pip安装docker-compose提示:Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ESr4WC/bcrypt/
You are using pip version 9.0.1, however version 20.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
You are using pip version 9.0.1, however version 20.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
解决方法
SSH命令输入以下命令并回车:
- pip install --upgrade pip
直到提示以下内容即正常更新pip版本[仅供参考]:
- Successfully installed pip-9.0.1
- You are using pip version 9.0.1, however version 20.2.2 is available.
- You should consider upgrading via the 'pip install --upgrade pip' command.
重新使用pip命令即可安装docker-compose