Ipython on Windows 7 cannot find pyreadline

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

installed Python3 using python-3.3.0.amd64.msi

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

Downloaded distribution-0.6.34.tar.gz

Downloaded distribute_setup.py

On the DOS prompt, went to the python33 directory and did

python distribute_setup.py

      

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

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

What gives?

EDIT: I spent about three hours today trying to install python3 and Ipython with no success. I have read several SO threads and IPython documentation related to installation on Windows ... still no success. If anyone wants to write down how to get right, that will be very gratifying.

+3


source to share


2 answers


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



  • Install Python 3.3

    • Install to default folder: C: \ Python33
  • Install distribution

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

  • Install pyreadline

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

  • Install pygments and pyzmq

    • At the command line: go to C: \ Python33 \ Scripts
    • Run this: easy_install pygments pyzmq

  • Download and install the following 3:

  • Start IPython

    • There should be a start menu shortcut
    • Start Menu> All Programs> IPython> IPythonQT
+2


source


You need to install the development version of pyreadline ( in Github ). Added support for Python 3 since version 1.7.1.



Perhaps you should take a look at Pyzo , the all-inclusive scientific Python 3 distribution that includes IPython. This is probably the easiest way to get started. There are several similar distributions based on Python 2, but Pyzo is the first to try Python 3.

0


source







All Articles