无法在kaggle上安装所需的spacy版本== 2.0.18

时间:2019-06-03 06:24:59

标签: python-3.x pip spacy kaggle

我想卸载kaggle中的现有spacy,默认情况下为我们下载kaggle,这是spacy == 2.1.3,但我想安装version == 2.0.18

!pip uninstall spacy==2.1.3

但是我这里有货

Uninstalling spacy-2.0.18:
  Would remove:
    /opt/conda/bin/spacy
    /opt/conda/lib/python3.6/site-packages/spacy-2.0.18.dist-info/*
    /opt/conda/lib/python3.6/site-packages/spacy/*
Proceed (y/n)?

但是我不能在kaggle笔记本上键入y / n,因为它不是控制提示符。 那怎么办呢?

1 个答案:

答案 0 :(得分:1)

在命令行中说“是”:

!pip uninstall -y spacy