【问题标题】:Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-EC5FHz/tornado/命令“python setup.py egg_info”在 /tmp/pip-install-EC5FHz/tornado/ 中失败,错误代码为 1
【发布时间】:2019-08-21 18:42:47
【问题描述】:

我正在尝试从这里安装 ipywidgets [https://pypi.org/project/ipywidgets/] 但输出:

Cannot uninstall 'ipython'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

我在这里得到了一些解决方案 [PIP: "Cannot uninstall 'ipython'. It is a distutils installed project and thus we cannot accurately determine..." 我用过:

sudo pip install ipywidgets --ignore-installed -U ipython

不幸的是,我遇到了另一个问题:

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-J1GUY8/tornado/

我试图从这里修复它 [Import Error - Tornado requires an updated SSL module on ubuntu 14.04,但我不能

请帮助我或任何建议

提前谢谢你

【问题讨论】:

    标签: python-2.7 ubuntu-14.04 ipywidgets


    【解决方案1】:

    跟我一起解决

    第 1 步:我将 python 2.7.6 更新为 2.7.12

    第 2 步:sudo pip install ipywidgets

    第 3 步:从这里安装 jupter enter link description here

    使用这些

    sudo apt-get update
    sudo apt-get -y install python-pip python-dev
    sudo -H pip install --upgrade pip
    sudo apt-get -y install ipython ipython-notebook
    sudo -H pip install jupyter
    

    【讨论】:

      猜你喜欢
      • 2019-08-10
      • 2018-11-12
      • 2020-07-19
      • 2019-05-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-04
      • 1970-01-01
      相关资源
      最近更新 更多