• 如何查看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

  • 相关阅读:
    java格式化sql
    Java 实现对Sql语句解析
    java 解析四则混合运算表达式并计算结果
    SQL转Java代码小工具
    eclipse导入maven工程步骤
    xml文件的schema也是经过jdk编译器编译的,如果xsd没引入完整,而xml中又用到了这些标签,就会编译不通过啊。
    eclipse bug之'<>'operator is not allowed for source level below 1.7
    eclipse默认指定项目的编译器版本
    eclipse导入maven项目后依赖jar包更新问题->update project按钮
    maven也是apache下的项目
  • 原文地址:https://www.cnblogs.com/shengulong/p/7940276.html
Copyright © 2020-2023  润新知