为 Python 3 安装 IPython 时出错:sys_platform == "darwin" 和 platform_python_implementation == "CPython"

Error on installing IPython for Python 3: sys_platform == "darwin" and platform_python_implementation == "CPython"

我想使用

为 Python3 安装 IPython

sudo pip install ipython

在 openSUSE 13.1 上。因为我只为 Python3 安装了 pip,所以它应该可以工作,而且实际上也可以用于其他软件包。我收到以下错误:

Downloading/unpacking ipython
  Downloading ipython-4.1.2.tar.gz (5.0MB): 5.0MB downloaded
  Running setup.py egg_info for package ipython
    error in ipython setup command: Invalid environment marker: sys_platform == "darwin" and platform_python_implementation == "CPython"
    Complete output from command python setup.py egg_info:
    error in ipython setup command: Invalid environment marker: sys_platform == "darwin" and platform_python_implementation == "CPython"

有趣的是,IPython 有效,但在通过 YaST 安装后从 Python 2.7.6 开始。出了什么问题?

这可能是因为安装工具已过时。尝试:

pip install --upgrade setuptools pip
pip list
pip install ipython

(必要时使用 sudo)