windows下安装ipython

看了好多博客和官方文档,感觉windows下安装ipython很复杂。后来发现其实很简单。 首先在 python官网下载python installer。建议安装 python 2.x版本,因为python 3.x版本和2.x版本不是一个体系,网上资料较少。安装后记得将 python.exe所在目录设置为PATH路径。 然后下载 ex_setup.py这个包管理工具,官网是 https://pypi.python.org/pypi/ez_setup,但是建议下载 这个。下载得到 ez_setup.py文件。然后cd到该文件所在目录,然后执行:
python ez_setup.py
然后输入安装 pip包管理工具
easy_install pip
最后通过pip安装ipython:
pip install ipython
在CMD命令行输入ipython Enjoy it 。 如果是更新ipython,当然是先uninstall,然后install了
pip uninstall ipython
建议下载console2  http://sourceforge.net/projects/console/  替代windows自带的命令行。
Console is a Windows console window enhancement. Console features include: multiple tabs, text editor-like text selection, different background types, alpha and color-key transparency, configurable font, different window styles 参考: [1].  http://www.v2ex.com/t/78747

转载于:https://my.oschina.net/itfanr/blog/195675

猜你喜欢

转载自blog.csdn.net/weixin_34413065/article/details/91799404