离线安装python包(附示例:featuretools)

一、基本方法:

  1、逐个包安装
  2、批量安装

二、基本步骤:(示例:featuretools)

  step1:
    · 下载包: msgpack-0.6.1-cp27-cp27mu-manylinux1_x86_64.whl
    · pip install msgpack-0.6.1-cp27-cp27mu-manylinux1_x86_64.whl
  step2:
    · 下载包: Click-7.0-py2.py3-none-any.whl
    · pip install Click-7.0-py2.py3-none-any.whl
  step3:
    · 下载包: tqdm-4.32.2-py2.py3-none-any.whl
    · pip install tqdm-4.32.2-py2.py3-none-any.whl
  step4:
    · 下载包: PyYAML-5.1.1.tar.gz
    · 解压包: tar -zxvf PyYAML-5.1.1.tar.gz
    · cd PyYAML-5.1.1
    · python setup.py install
  step5:
    · 下载包: psutil-5.6.3.tar.gz
    · 解压包: tar -zxvf psutil-5.6.3.tar.gz
    · cd psutil-5.6.3
    · python setup.py install
  step6:
    · 下载包: boto-2.49.0-py2.py3-none-any.whl
    · pip install boto-2.49.0-py2.py3-none-any.whl
  step7:
    · 下载包: bz2file-0.98.tar.gz
    · 解压包: tar -zxvf bz2file-0.98.tar.gz
    · cd bz2file-0.98
    · python setup.py install
  step8:
    · 下载包: smart_open-1.8.4.tar.gz
    · 解压包: tar -zxvf smart_open-1.8.4.tar.gz
    · cd smart_open-1.8.4
    · python setup.py install
  step9:
    · 下载包: s3transfer-0.2.1-py2.py3-none-any.whl
    · pip install s3transfer-0.2.1-py2.py3-none-any.whl
  step10:
    · 下载包: boto3-1.9.185-py2.py3-none-any.whl
    · pip install boto3-1.9.185-py2.py3-none-any.whl
  step11:
     · 下载包: jmespath-0.9.4-py2.py3-none-any.whl
     · pip install jmespath-0.9.4-py2.py3-none-any.whl
  step12:
     · 下载包: botocore-1.12.185-py2.py3-none-any.whl
     · pip install botocore-1.12.185-py2.py3-none-any.whl
  step13:
     · 下载包: s3fs-0.2.2.tar.gz
     · 解压包: tar -zxvf s3fs-0.2.2.tar.gz
     · cd s3fs-0.2.2
     · python setup.py install
  step14:
     · 下载包: featuretools-0.5.0-py2-none-any.whl
     · pip install featuretools-0.5.0-py2-none-any.whl
  step15:
     · 下载包: graphviz-0.11.1-py2.py3-none-any.whl
     · pip install graphviz-0.11.1-py2.py3-none-any.whl
  step16:
    · 下载包: pytest_runner-4.2-py2.py3-none-any.whl
    · pip install pytest_runner-4.2-py2.py3-none-any.whl
  step17:
    · 下载包: dask-1.2.2-py2.py3-none-any.whl
    · pip install dask-1.2.2-py2.py3-none-any.whl

你可能感兴趣的:(知识点)