当前位置: 代码迷 >> 综合 >> ERROR: Cannot uninstall ‘filelock‘. It is a distutils installed project and thus we cannot accuratel
  详细解决方案

ERROR: Cannot uninstall ‘filelock‘. It is a distutils installed project and thus we cannot accuratel

热度:86   发布时间:2023-12-11 21:02:23.0

我是在Ubuntu中安装allennlp的时候,报了这个错误。

解决办法:

先输入命令:pip install --ignore-installed filelock

再输入 pip install allennlp

问题即可解决。(如果您是出现其他类似包无法卸载,直接替换flielock即可)

  相关解决方案