Explore Courses Blog Tutorials Interview Questions
0 votes
in Azure by (13.1k points)

I was trying to update sklearn library for Azure Notebooks and whenever I tried to update using this command:

!pip install --update sklearn

And the result is:


pip install [options] <requirement specifier> [package-index-options] ...

pip install [options] -r <requirements file> [package-index-options] ...

pip install [options] [-e] <vcs project url> ...

pip install [options] [-e] <local project path> ...

pip install [options] <archive url/path> ...

no such option: --update

Can anyone help me with this?

1 Answer

0 votes
by (26.7k points)

In able to update sklearn try using the below command:

pip install -U scikit-learn

I hope this will work.

Want to become an Azure expert? join Azure certification now!!

Browse Categories