我想卸载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,因为它不是控制提示符。 那怎么办呢?
答案 0 :(得分:1)
在命令行中说“是”:
!pip uninstall -y spacy