2019年3月16日 星期六

Linux Centos install pip

URL : https://www.liquidweb.com/kb/how-to-install-pip-on-centos-7/

 Option 2: Install Pip with Curl and Python 

Note:
If you installed Pip with the previous Option, then SKIP this step.
We can also use cURL and Python to download and install Pip.
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py



URL: https://medium.com/@CCstruggled/python-%E5%AE%89%E8%A3%9D-pip-%E6%96%BC-windows-%E6%88%96-centos-%E7%B7%9A%E4%B8%8A-%E9%9B%A2%E7%B7%9A%E5%AE%89%E8%A3%9D-pip-101-fb6d8e3c611b

- CentOS get pip (Offline)

  1. 離線安裝就比較麻煩一點,首先要先拿到 pip-9.0.1-py2.py3-none-any.whl(版本可能會有變動),可在這裡下載
  2. 然後用任何方式上傳到你的主機,你可以從本機上傳、或到可連網的主機 wget 再 scp 過來;拿到檔案後 cd 到該路徑。
  3. 執行以下指令,用自己安裝自己 (注意對應版本)
python pip-9.0.1-py2.py3-none-any.whl/pip install --no-index pip-9.0.1-py2.py3-none-any.whl

沒有留言:

RHEL install EPEL

  https://www.linuxtechi.com/install-epel-repo-on-rhel-system/ EPEL dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest...