python - Kedro 安装 - 无法卸载“终端”
问题描述
运行时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问题建议进行以下修复:
pip install terminado --user --ignore-installed
但它对我不起作用,因为我一直有同样的错误。
注意: 这个问题与此类似,但差异很大,我认为值得单独提问。
解决方案
问题是kedro模板项目需要的版本见src/requiremetns.txt
在我的项目中它是terminado==0.9.1
,因此以下解决了这个问题:
pip install terminado==0.9.1 --user --ignore-installed
推荐阅读
- javascript - 在 React 中调用 Promise 中的异步函数
- python - 如何在 Selenium 的 xpath 表达式中使用单引号?
- python - 如何根据“标识符列”和熊猫数据框中的附加条件替换值?
- sip - 是否可以使用一个电话号码并将所有呼叫重定向到 VOIP 服务器?
- python - PyQt5 按钮使用 np.loadtxt 加载数据。有没有办法存储这些数据,以便我以后可以根据它进行计算?
- java - Spring - 在数据库中保存/恢复 HttpCookie(作为字符串)会出现问题:最后一个单元没有足够的有效位
- mumin - 将 MuMin 的模型平均结果转换为 visreg 或效果包中的绘图
- reactjs - 在地图功能动态加载图像
- java - RealmObjects 的位置在删除时发生变化
- scala - 如何将列表值组合成字符串