Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPython won't start

Tags:

python

ipython

I'm running Windows 7 x64. I installed the 32x verson of Python 2.7.2 and IPython 0.11 using the Windows Installers. They installed all right. I added C:\Python27 and C:\Python27\Scripts to the system envorment variables.

When I type ipython in the command prompt I get this message:

Traceback (most recent call last): File "C:\Python27\Scripts\ipython-script.py", line 5, in from pkg_resources import load_entry_point ImportError: No module named pkg_resources

How to fix this?

like image 697
siamii Avatar asked Nov 27 '11 17:11

siamii


People also ask

How do I start IPython in terminal?

You start IPython by typing “ipython” in your terminal. $ ipython Python 2.7. 2 (default, Jun 20 2012, 16:23:33) Type "copyright", "credits" or "license" for more information. IPython 0.13.

Do I need to install IPython?

All of the subpackages come with IPython, so you don't need to download and install them separately. However, to use a given subpackage, you will need to install all of its dependencies. Please let us know if you have problems installing IPython or any of its dependencies.

Is Python and IPython same?

IPython is an interactive command-line terminal for Python. It was created by Fernando Perez in 2001. IPython offers an enhanced read-eval-print loop (REPL) environment particularly well adapted to scientific computing. In other words, IPython is a powerful interface to the Python language.


1 Answers

Solution. Also need to install setuptools from http://pypi.python.org/pypi/setuptools

like image 174
siamii Avatar answered Sep 30 '22 17:09

siamii