5

I've installed ipython, but I don't know how to use it. Where could I find ipython shell?

f.ashouri
  • 5,409
  • 13
  • 44
  • 52

3 Answers3

4

To use ipython, just go to the command line, and run the command ipython.

JeffS
  • 2,647
  • 2
  • 19
  • 24
  • 1
    I'm doing it but it says: `'ipython' is not recognized as an internal or external command,...` I have python 2.7 and I installed __ipython-0.13.1.py2-win32-PROPER.exe__. What could be wrong? – f.ashouri Nov 08 '12 at 20:30
  • 1
    ipython may not be in your `PATH`, see where the ipython executable is, and then add that directory to your path environment variable – JeffS Nov 08 '12 at 20:34
3

open up your terminal, type ipython and run.

EDIT: have you set ipython in your environment variables? Here is an initial configurations guide by ipython.org

EDIT: maybe you also need to install setuptools from http://pypi.python.org/pypi/setuptools

source: IPython won't start

Community
  • 1
  • 1
dnlcrl
  • 5,022
  • 3
  • 32
  • 40
  • 1
    have you set ipython in your environment variables? – dnlcrl Nov 08 '12 at 20:41
  • @JeffS @dciriello I did it now. Now I have this error: `ImportError: No module named pkg_resources` – f.ashouri Nov 08 '12 at 20:43
  • 1
    maybe you also need to install setuptools from http://pypi.python.org/pypi/setuptools – dnlcrl Nov 08 '12 at 20:50
  • 1
    Thank you too. Setuptools builds on Python’s distutils to provide easier building, distribution, and installation of libraries and applications. – dnlcrl Nov 08 '12 at 21:06
3

You start IPython with the command:

$ ipython [options] files

See http://ipython.org/ipython-doc/stable/interactive/reference.html#command-line-usage

You either have to be in the directory that has ipython installed, or add the directory to the path.

You can do this by Alt double clicking on My Computer, select Advanced Options, Environment, find the PATH environment variable and add the directory where ipython is installed.

Start a new command prompt and typing ipython should start the interpreter.

Peter Wood
  • 23,859
  • 5
  • 60
  • 99