zoukankan      html  css  js  c++  java
  • Python——安装与命令备忘

    https://www.python.org/downloads/release/python-2718/

    sudo pip uninstall pip

    curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py

    sudo python get-pip.py

    sudo easy_install pip

    python -m pip install --upgrade pip

    pip --version

    python --version

    vim ~/.bash_profile
    source ~/.bash_profile
    export PIP_PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin
    export PATH=$PIP_PATH:$PATH

    which python
    which pip

    pip list
    pip list --path /Users/admin/Library/Python/2.7/lib/python/site-packages/
    pip list --path /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
    pip list --path /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/

    pip install click==5.1

    pip install 安装目录问题
    python -m site


    bogon:newres admin$ pip list --path /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
    DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
    Package Version
    ------------ -------
    Cheetah 2.4.4
    click 7.1.2
    cloudpickle 1.3.0
    configparser 4.0.2
    doit 0.29.0
    et-xmlfile 1.0.1
    jdcal 1.4.1
    MacFSEvents 0.8.1
    Markdown 2.3.1
    openpyxl 2.6.4
    Pillow 6.2.2
    pip 20.3.4
    PyYAML 3.11
    setuptools 41.2.0
    six 1.16.0

  • 相关阅读:
    拆点问题
    黑球白球
    3n+1b 备忘录方法
    实体entity、JavaBean、Model、POJO、domain的区别
    DB中的读写分离
    Jmeter干货 不常用却极其有用的几个地方
    自动化测试 自动化框架需要满足的事项
    自动化测试面试题库
    测试工程师面试准备之----测试基础
    别人的面试经历 软件测试工程师
  • 原文地址:https://www.cnblogs.com/xingchong/p/14987073.html
Copyright © 2011-2022 走看看