求助windows版ipython怎么安装和使用? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
itfanr
V2EX    Python

求助windows版ipython怎么安装和使用?

  •  
  •   itfanr
    itfanr 2013-08-11 15:34:30 +08:00 9501 次点击
    这是一个创建于 4444 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Traceback (most recent call last):
    File "D:\Program Files\python27\Scripts\ipython-script.py", line 9, in <module
    >
    load_entry_point('ipython==0.11', 'console_scripts', 'ipython')()
    File "D:\Program Files\python27\lib\site-packages\IPython\frontend\terminal\ip
    app.py", line 369, in launch_new_instance
    app.initialize()
    File "D:\Program Files\python27\lib\site-packages\IPython\frontend\terminal\ip
    app.py", line 283, in initialize
    self.init_shell()
    File "D:\Program Files\python27\lib\site-packages\IPython\frontend\terminal\ip
    app.py", line 303, in init_shell
    ipython_dir=self.ipython_dir)
    File "D:\Program Files\python27\lib\site-packages\IPython\config\configurable.
    py", line 349, in instance
    inst = cls(*args, **kwargs)
    File "D:\Program Files\python27\lib\site-packages\IPython\frontend\terminal\in
    teractiveshell.py", line 113, in __init__
    user_global_ns=user_global_ns, custom_exceptiOns=custom_exceptions
    File "D:\Program Files\python27\lib\site-packages\IPython\core\interactiveshel
    l.py", line 427, in __init__
    super(InteractiveShell, self).__init__(**kwargs)
    File "D:\Program Files\python27\lib\site-packages\IPython\config\configurable.
    py", line 102, in __init__
    super(Configurable, self).__init__(**kwargs)
    File "D:\Program Files\python27\lib\site-packages\IPython\utils\traitlets.py",
    line 433, in __init__
    setattr(self, key, value)
    AttributeError: can't set attribute

    If you suspect this is an IPython bug, please report it at:
    https://github.com/ipython/ipython/issues
    or send an email to the mailing list at [email protected]

    You can print a more detailed traceback right now with "%tb", or use "%debug"
    to interactively debug it.

    Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
    c.Application.verbose_crash=True
    10 条回复    2016-01-01 12:09:48 +08:00
    timonwong
        1
    timonwong  
       2013-08-11 15:43:48 +08:00   1
    Windows下就不要用pypi之类的装了,装不了的。。。
    你可以用Enthought或Anaconda的发行版,已经包含了ipython。

    Anaconda: http://continuum.io/downloads
    Enthought Canopy Free: https://www.enthought.com/downloads/
    itfanr
        2
    itfanr  
    OP
       2013-08-11 16:48:05 +08:00
    @timonwong 好吧 。。。。谢谢
    echo1937
        3
    echo1937  
       2013-08-11 19:20:10 +08:00
    @timonwong

    请问你介绍的这2个玩意免费吗?
    itfanr
        4
    itfanr  
    OP
       2013-08-11 19:38:10 +08:00
    @echo1937 应该不免费
    timonwong
        5
    timonwong  
       2013-08-11 19:46:10 +08:00
    @echo1937
    @itfanr
    Anaconda
    >>>>>>> Free for all to use: (including commercial) <<<<<<<

    Enthought Canopy >>>>>>Free<<<< (当然也有收费的)
    echo1937
        6
    echo1937  
       2013-08-11 20:13:39 +08:00
    @timonwong


    感谢你的回答,再问个问题.

    windows下,如何改变Anaconda的python版本.
    timonwong
        7
    timonwong  
       2013-08-12 16:58:45 +08:00
    @echo1937
    Anaconda 自带2.7.
    2.6和3.3需要用conda安装(但不会替换)
    方法(conda是Anaconda的包管理):
    conda create -n py33 python=3.3 anaconda

    参见:
    http://docs.continuum.io/conda/intro.html#creating-python-3-3-or-python-2-6-environments

    另外,也许你需要这个脚本:
    https://github.com/ContinuumIO/conda/issues/119
    josephshen
        8
    josephshen  
       2013-08-13 09:01:05 +08:00
    完全不用这样。
    就是先安装python,再通过ez_setup安装easy_install,easy_install安装pip。
    你就有了pip和easy_install这两个python的包管理程序。
    最后pip install ipython,就可以。
    itfanr
        9
    itfanr  
    OP
       2013-08-13 13:29:47 +08:00
    @josephshen 一语道破啊 谢谢
    72vc48
        10
    72vc48  
       2016-01-01 12:09:48 +08:00
    用 pip 安装 ipython 很方便的,但是注意别开着 fiddler 这些抓包工具,如果开着,有时会遇到不同的结果。
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2598 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 32ms UTC 14:48 PVG 22:48 LAX 07:48 JFK 10:48
    Do have faith in what you're doing.
    ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86