zoukankan      html  css  js  c++  java
  • 如何查看pip安装包的所有版本;以及ipython的安装

    安装ipython很简单,直接使用pip就行

    比如mac环境下:pip install ipython;提示安装失败,原因是pip默认安装的ipython版本6.0+不适用python3.3以下版本

    pip install ipython
    Collecting ipython Downloading http:
    //mirrors.aliyun.com/pypi/packages/fa/50/974211502bd72873728d44c3013fe79875c819c8fb69f778bcfd67bc7d38/ipython-6.2.1.tar.gz (5.1MB) 100% |████████████████████████████████| 5.1MB 5.6MB/s Complete output from command python setup.py egg_info: IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2. When using Python 2.7, please install IPython 5.x LTS Long Term Support version. Beginning with IPython 6.0, Python 3.3 and above is required. See IPython `README.rst` file for more information: https://github.com/ipython/ipython/blob/master/README.rst Python sys.version_info(major=2, minor=7, micro=13, releaselevel='final', serial=0) detected. ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/f2/cwy5vc4n4_v3q8qt7q09q1dh0000gn/T/pip-build-4fnKGC/ipython/ 安装一个不存在的ipython版本5.xx,然后就会出现所有可以安装ipython版本

    ~ pip install ipython==5
    .xx Collecting ipython==5.xx Could not find a version that satisfies the requirement ipython==5.xx (from versions: 0.10, 0.10.1, 0.10.2, 0.11, 0.12, 0.12.1, 0.13, 0.13.1, 0.13.2, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 4.0.0b1, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.1.0rc1, 4.1.0rc2, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 5.0.0b1, 5.0.0b2, 5.0.0b3, 5.0.0b4, 5.0.0rc1, 5.0.0, 5.1.0, 5.2.0, 5.2.1, 5.2.2, 5.3.0, 5.4.0, 5.4.1, 5.5.0, 6.0.0rc1, 6.0.0, 6.1.0, 6.2.0, 6.2.1) No matching distribution found for ipython==5.xx

    安装一个5.5.0版本

    启动:ipython

    参考:

    1、http://ipython.org/install.html

  • 相关阅读:
    BZOJ2005 能量汇集 【gcd求和】
    莫比乌斯反演
    匈牙利算法 求二分图最大匹配
    HDU3507 print article【斜率优化dp】
    tyvj1305 最大子序和 【单调队列优化dp】
    NOIP2017 列队 题解报告【56行线段树】
    NOIP2017 宝藏 题解报告【状压dp】
    NOIP2017 逛公园 题解报告 【最短路 + 拓扑序 + dp】
    好的软件测试人员简历是什么样子的?
    淘宝网-接口测试白皮书V0.1
  • 原文地址:https://www.cnblogs.com/shengulong/p/7940276.html
Copyright © 2011-2022 走看看