Windows 7上的ipython找不到pyreadline [英] ipython on Windows 7 can't find pyreadline

查看:154
本文介绍了Windows 7上的ipython找不到pyreadline的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Windows 7上安装Ipython for Python3。

I am trying to install Ipython for Python3 on Windows 7.

使用python-3.3.0.amd64.msi安装Python3

installed Python3 using python-3.3.0.amd64.msi

使用pyreadline-1.7.1.win-amd64.exe安装pyreadline

installed pyreadline using pyreadline-1.7.1.win-amd64.exe

下载distribute-0.6.34.tar.gz

Downloaded distribute-0.6.34.tar.gz

下载distribute_setup.py

Downloaded distribute_setup.py

从DOS提示符导航到python33目录并执行

From DOS prompt navigated to python33 directory and did

python distribute_setup.py

使用ipython安装IPython -0.13.1.py3-win-amd64-PROPER(我右键单击并选择以管理员身份运行)

Installed IPython using ipython-0.13.1.py3-win-amd64-PROPER (I right clicked and chose "run as administrator")

当我现在运行IPython时,我收到消息警告:Realine服务不可用或未加载。警告:MS Windows下的正确颜色端口需要pyreadline库。

When I run IPython now I get the message "Warning: Realine services not available or not loaded. WARNING: Proper color port under MS Windows requires the pyreadline library."

什么给出?

编辑:今晚我花了大约三个小时尝试安装python3和Ipython但没有成功。我已经阅读了几个SO线程和有关在Windows上安装的IPython文档...仍然没有成功。如果有人想写下如何获得非常好的权利。

I spent about three hours this evening trying to install python3 and Ipython with no success. I've read several SO threads and the IPython documentation pertaining to installing on Windows... still no success. If someone wants to write down how to get the right that would be very nice.

推荐答案

我已经成功安装了IPython 0.13.1在Windows 7专业版32位计算机上。所以,让我与大家分享我是如何做到的。

I have successfully installed IPython 0.13.1 on a Windows 7 Professional 32-bit computer. So let me share with you how I did it.


  1. 安装Python 3.3

  1. Install Python 3.3


  • 安装到默认文件夹:C:\Python33

安装分发

  • Download distribute: http://pypi.python.org/pypi/distribute
  • Extract to: C:\distribute
  • At the command prompt: navigate to C:\distribute
  • Run on command line: C:\Python33\python distribute_setup.py

安装pyreadline

Install pyreadline


  • 下载pyreadline : https://github.com/pyreadline/pyreadline

  • 单击ZIP下载PyReadline存储库的zip文件

  • 提取到C:\ pyreadline

  • 在命令提示符处:导航到C :\ pypyline

  • 运行: C:\Python33 \ python setup.py install

  • Download pyreadline: https://github.com/pyreadline/pyreadline
  • Click on "ZIP" to download a zip file of PyReadline repository
  • Extract to C:\pyreadline
  • At the command prompt: navigate to C:\pyreadline
  • Run this: C:\Python33\python setup.py install

安装pygments和pyzmq

Install pygments and pyzmq


  • 在命令提示符处:导航到C:\Python33 \Scripts

  • 运行: easy_install pygments pyzmq

  • At the command prompt: navigate to C:\Python33\Scripts
  • Run this: easy_install pygments pyzmq

下载并安装下一个3:

  • ZeroMq: http://www.zeromq.org
  • PySide: http://www.pyside.org
  • IPython: http://www.ipython.org

启动IPython


  • 应该有一个开始菜单快捷方式

  • 开始菜单>所有程序> IPython> IPythonQT

这篇关于Windows 7上的ipython找不到pyreadline的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆