【问题标题】:Kedro install - Cannot uninstall `terminado`Kedro 安装 - 无法卸载“终端”
【发布时间】:2020-11-21 05:22:29
【问题描述】:

运行kedro install 时出现以下错误:

Attempting uninstall: terminado
    Found existing installation: terminado 0.8.3
ERROR: Cannot uninstall 'terminado'. 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.

这个 github issue 建议进行以下修复:

pip install terminado --user --ignore-installed

但这对我不起作用,因为我一直有同样的错误。

注意: 这个问题与this 类似,但差异很大,我认为值得单独提问。

【问题讨论】:

    标签: python pip kedro


    【解决方案1】:

    问题是kedro模板项目需要的版本见src/requiremetns.txt

    在我的项目中是terminado==0.9.1,因此以下解决了问题:

    pip install terminado==0.9.1  --user --ignore-installed
    

    【讨论】:

      【解决方案2】:

      对我来说是 requirements.txt 中的这一行;

      ...
      jupyterlab>=1.0
      ....
      

      删除了版本部分 (">=1.0") 并且有效;

      ...
      jupyterlab
      ....
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2013-09-08
        • 2019-08-17
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多