• 折腾Ipython


    1. 用easy_install安装吧

    [root@host python]# easy_install IPython
    Searching for IPython
    Reading https://pypi.python.org/simple/IPython/
    Best match: ipython 4.0.0
    Downloading https://pypi.python.org/packages/source/i/ipython/ipython-4.0.0.zip#md5=0ba5dff36c5bf40ee383d9eb93f0d6d4
    Processing ipython-4.0.0.zip
    Writing /tmp/easy_install-JtlzBO/ipython-4.0.0/setup.cfg
    Running ipython-4.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JtlzBO/ipython-4.0.0/egg-dist-tmp-EexLav
    checking package data
    Adding ipython 4.0.0 to easy-install.pth file
    .......
    Reading https://pypi.python.org/simple/setuptools_scm/
    Best match: setuptools-scm 1.9.0
    Downloading https://pypi.python.org/packages/source/s/setuptools_scm/setuptools_scm-1.9.0.tar.gz#md5=020e097756c4fd67a0f4518cac0ff190
    Processing setuptools_scm-1.9.0.tar.gz
    Writing /tmp/easy_install-32EkS0/path.py-8.1.2/temp/easy_install-Bt0ay2/setuptools_scm-1.9.0/setup.cfg
    Running setuptools_scm-1.9.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-32EkS0/path.py-8.1.2/temp/easy_install-Bt0ay2/setuptools_scm-1.9.0/egg-dist-tmp-q61Rju
    
    Installed /tmp/easy_install-32EkS0/path.py-8.1.2/setuptools_scm-1.9.0-py2.7.egg
    your setuptools is too old (<12)
    setuptools_scm functionality is degraded
    zip_safe flag not set; analyzing archive contents...
    Adding path.py 8.1.2 to easy-install.pth file
    
    Installed /usr/lib/python2.7/site-packages/path.py-8.1.2-py2.7.egg
    Finished processing dependencies for IPython
    
    

     2.小测来了

    [root@host python]# ipython
    Python 2.7.5 (default, Jun 17 2014, 18:11:42)
    Type "copyright", "credits" or "license" for more information.
    
    IPython 4.0.0 -- An enhanced Interactive Python.
    ?         -> Introduction and overview of IPython's features.
    %quickref -> Quick reference.
    help      -> Python's own help system.
    object?   -> Details about 'object', use 'object??' for extra details.
    
  • 相关阅读:
    关于OC中.m文件下实现私有变量的方法,在.h文件下实现公有变量的方法
    mac中安装homebrew
    ios架构
    github命令记录
    Unity 游戏框架搭建 MonoBehaviour单例的模板
    Unity 游戏框架搭建 单例的模板
    unity 单列
    简单工厂与工厂
    NGUI动态播放视频
    在一个GameObject上进行多个AudioSource的控制
  • 原文地址:https://www.cnblogs.com/oskb/p/4974598.html
Copyright © 2020-2023  润新知