Suraj Ghale
Suraj Ghale

Reputation: 301

unable to install the desired spacy version ==2.0.18 on kaggle

I want to uninstall the existing spacy in kaggle which kaggle by default download for us which is spacy == 2.1.3 but I want to install version==2.0.18

!pip uninstall spacy==2.1.3

but I got stock here

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)?

But I am not able to type y/n on the kaggle notebook as it is not control prompt. So how to do it?

Upvotes: 0

Views: 1281

Answers (1)

phd
phd

Reputation: 94716

Say "yes" in the command line:

!pip uninstall -y spacy

Upvotes: 2

Related Questions