|
【转载自https://www.cnblogs.com/zhongyehai/p/10619917.html】
安装pip
使用脚本安装和升级pip
wget https://bootstrap.pypa.io/get-pip.py


运行脚本python3 get-pip.py


查看版本pip -V

如果pip -V,出现notfound,把pip加到环境变量

[finance@finance-06 bin]$ echo 'export PATH=/usr/local/python/python3/bin:$PATH' >>~/.bashrc [finance@finance-06 bin]$ source ~/.bashrc

执行pip install

|