root@ifw2:/opt/nessus# wget https://bootstrap.pypa.io/pip/2.7/get-pip.py –2022-03-09 20:35:21-- https://bootstrap.pypa.io/pip/2.7/get-pip.py 正在解析主机 bootstrap.pypa.io (bootstrap.pypa.io)… 151.101.76.175, 2a04:4e42:12::175 正在连接 bootstrap.pypa.io (bootstrap.pypa.io)|151.101.76.175|:443… 已连接。 已发出 HTTP 请求,正在等待回应… 200 OK 长度:1908226 (1.8M) [text/x-python] 正在保存至: “get-pip.py.1”
get-pip.py.1 100%[===================================================>] 1.82M 401KB/s 用时 4.6s
2022-03-09 20:35:27 (401 KB/s) - 已保存 “get-pip.py.1” [1908226/1908226])
root@ifw2:/opt/nessus# python get-pip.py.1 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 pip 21.0 will remove support for this functionality. Collecting pip<21.0 Downloading pip-20.3.4-py2.py3-none-any.whl (1.5 MB) |████████████████████████████████| 1.5 MB 456 kB/s Collecting setuptools<45 Downloading setuptools-44.1.1-py2.py3-none-any.whl (583 kB) |████████████████████████████████| 583 kB 487 kB/s Collecting wheel Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB) Installing collected packages: pip, setuptools, wheel Successfully installed pip-20.3.4 setuptools-44.1.1 wheel-0.37.1 root@ifw2:/opt/nessus# root@ifw2:/opt/nessus# root@ifw2:/opt/nessus# pip install requests 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 pip 21.0 will remove support for this functionality. Collecting requests Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB) |████████████████████████████████| 63 kB 194 kB/s Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB) |████████████████████████████████| 138 kB 316 kB/s Collecting certifi>=2017.4.17 Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB) |████████████████████████████████| 149 kB 1.4 MB/s Collecting idna<3,>=2.5; python_version < “3” Downloading idna-2.10-py2.py3-none-any.whl (58 kB) |████████████████████████████████| 58 kB 2.0 MB/s Collecting chardet<5,>=3.0.2; python_version < “3” Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB) |████████████████████████████████| 178 kB 2.1 MB/s Installing collected packages: urllib3, certifi, idna, chardet, requests Successfully installed certifi-2021.10.8 chardet-4.0.0 idna-2.10 requests-2.27.1 urllib3-1.26.8 root@ifw2:/opt/nessus# ls all-2.0.tar.gz bin com etc get-pip.py get-pip.py.1 lib nessus_api-t1.py sbin var
|