-->

IPython won't start

2020-08-09 10:59发布

问题:

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?

回答1:

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