一,ubuntu上pip不是默认安装的
root@lhdpc:~# pip3 --version Command 'pip3' not found, but can be installed w[......]
root@lhdpc:~# pip3 --version Command 'pip3' not found, but can be installed w[......]
[root@img Python-3.11.4]# python3 -m pip show setuptools Name: setuptools Ve[......]
[root@img Python-3.11.4]# pip --version pip 23.1.2 from /usr/local/soft/python3.11.[......]
查看python的版本:
[lhdop@blog ~]$ python3 --version Python 3.6.8
查看pip的版本:
[……]
查看pip当前版本:
[root@blog bin]# pip3 -V pip 22.0.4 from /usr/local/soft/python3.[......]