zoukankan      html  css  js  c++  java
  • liunx安装pip

    安装pip之前要先安装Anaconda。

    1、下载:

    # wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate

    2、解压/安装

    # tar -xzvf pip-1.5.4.tar.gz
    # cd pip-1.5.4
    # python setup.py install

    3、pip安装包

    # pip install SomePackage

    4、下载爬虫所需要的各种库(pip3或者pip)

    pip3 install requests selenium beautifulsoup4 pyquery pymysql pymongo redis flask django jupyter

    =====================================================================

    pip检查那些包需要更新

    # pip list --outdated

    pip升级包

    # pip install --upgrade SomePackage

    pip卸载包

    pip uninstall SomePackage

    具体的看这里:

    http://www.ttlsa.com/python/how-to-install-and-use-pip-ttlsa/

  • 相关阅读:
    ACM TJU 1556
    HDU 1890 Robotie Sort
    Android学习笔记
    HDU 2795
    HDU 1542
    HDU 1698
    POJ 2185
    学习笔记
    HDU 3336
    HDU 3746
  • 原文地址:https://www.cnblogs.com/suiyisuixing/p/7667212.html
Copyright © 2011-2022 走看看