概述
pip install . -i https://pypi.tuna.tsinghua.edu.cn/simple
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Looking in indexes: http://mirrors.aliyun.com/pypi/simple
Processing /root/kolla-ansible
Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in /usr/lib/python2.7/site-packages (from kolla-ansible==9.1.1.dev22) (5.4.5)
Requirement already satisfied: docker>=2.4.2 in /usr/lib/python2.7/site-packages (from kolla-ansible==9.1.1.dev22) (4.2.0)
Requirement already satisfied: Jinja2>=2.10 in /usr/lib/python2.7/site-packages (from kolla-ansible==9.1.1.dev22) (2.11.2)
Requirement already satisfied: six>=1.10.0 in /usr/lib/python2.7/site-packages (from kolla-ansible==9.1.1.dev22) (1.15.0)
Collecting oslo.config>=5.2.0
Downloading http://mirrors.aliyun.com/pypi/packages/5c/45/53255cdbabefabc4ac8ae36671ecbd8a92a6d029363fcae9126a27fb81d7/oslo.config-7.0.0-py2.py3-none-any.whl (125 kB)
|████████████████████████████████| 125 kB 1.1 MB/s
Collecting oslo.utils>=3.33.0
Downloading http://mirrors.aliyun.com/pypi/packages/82/9c/568e90a41b29b255dcdb5d39d4ad2ad4c92ba7ed1af9746ddbd7680768ba/oslo.utils-3.42.1-py2.py3-none-any.whl (100 kB)
|████████████████████████████████| 100 kB 1.9 MB/s
Collecting setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0
Downloading http://mirrors.aliyun.com/pypi/packages/ab/b5/3679d7c98be5b65fa5522671ef437b792d909cf3908ba54fe9eca5d2a766/setuptools-44.1.0-py2.py3-none-any.whl (583 kB)
|████████████████████████████████| 583 kB 5.2 MB/s
Collecting PyYAML>=3.12
Downloading http://mirrors.aliyun.com/pypi/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz (269 kB)
|████████████████████████████████| 269 kB 5.5 MB/s
Collecting netaddr>=0.7.18
Downloading http://mirrors.aliyun.com/pypi/packages/ba/97/ce14451a9fd7bdb5a397abf99b24a1a6bb7a1a440b019bebd2e9a0dbec74/netaddr-0.7.19-py2.py3-none-any.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 7.8 MB/s
Collecting cryptography>=2.1
Downloading http://mirrors.aliyun.com/pypi/packages/45/f9/ee6878ab822eef403a4282c8ce80d56e3121c9576a6544377df809363b50/cryptography-2.9.2-cp27-cp27mu-manylinux2010_x86_64.whl (2.7 MB)
|████████████████████████████████| 2.7 MB 3.3 MB/s
Requirement already satisfied: jmespath>=0.9.3 in /usr/lib/python2.7/site-packages (from kolla-ansible==9.1.1.dev22) (0.9.4)
Requirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/lib/python2.7/site-packages (from docker>=2.4.2->kolla-ansible==9.1.1.dev22) (2.23.0)
Requirement already satisfied: backports.ssl-match-hostname>=3.5; python_version < "3.5" in /usr/lib/python2.7/site-packages (from docker>=2.4.2->kolla-ansible==9.1.1.dev22) (3.5.0.1)
Requirement already satisfied: ipaddress>=1.0.16; python_version < "3.3" in /usr/lib/python2.7/site-packages (from docker>=2.4.2->kolla-ansible==9.1.1.dev22) (1.0.16)
Requirement already satisfied: websocket-client>=0.32.0 in /usr/lib/python2.7/site-packages (from docker>=2.4.2->kolla-ansible==9.1.1.dev22) (0.57.0)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib64/python2.7/site-packages (from Jinja2>=2.10->kolla-ansible==9.1.1.dev22) (1.1.1)
Requirement already satisfied: debtcollector>=1.2.0 in /usr/lib/python2.7/site-packages (from oslo.config>=5.2.0->kolla-ansible==9.1.1.dev22) (1.22.0)
Requirement already satisfied: enum34>=1.0.4; python_version == "2.7" or python_version == "2.6" or python_version == "3.3" in /usr/lib/python2.7/site-packages (from oslo.config>=5.2.0->kolla-ansible==9.1.1.dev22) (1.0.4)
Requirement already satisfied: oslo.i18n>=3.15.3 in /usr/lib/python2.7/site-packages (from oslo.config>=5.2.0->kolla-ansible==9.1.1.dev22) (3.25.1)
Collecting stevedore>=1.20.0
Downloading http://mirrors.aliyun.com/pypi/packages/e6/49/a35dd566626892d577e426dbe5ea424dd7fbe10645f2c1070dcba474eca9/stevedore-1.32.0-py2.py3-none-any.whl (43 kB)
|████████████████████████████████| 43 kB 3.9 MB/s
Collecting rfc3986>=1.2.0
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
翻译一下错误:
无法卸载“PyYAML”。这是一个distutils安装的项目,因此我们无法准确地确定哪些文件属于它,这只会导致部分卸载。
解决如果一次不成功的话那就执行多次,直到成功
pip install . -i https://pypi.tuna.tsinghua.edu.cn/simple --ignore-installed再次运行
[root@all-in-one kolla-ansible]# pip install . -i https://pypi.tuna.tsinghua.edu.cn/simple
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Processing /root/kolla-ansible
..................................................此处省略安装信息
Uninstalling kolla-ansible-9.1.1.dev22:
Successfully uninstalled kolla-ansible-9.1.1.dev22
Successfully installed kolla-ansible-9.1.1.dev22
最后
以上就是积极电源为你收集整理的python2.7 reached the end of_pip安装时报错的全部内容,希望文章能够帮你解决python2.7 reached the end of_pip安装时报错所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复