Skip to content

Commit

Permalink
Rephrase the warning about installing scikit-learn
Browse files Browse the repository at this point in the history
The previous wording assumed only pip would be used; the new fomulation
emphasises that the command will not be valid if another package manager
is used instead.
  • Loading branch information
e10e3 committed Jul 18, 2024
1 parent 4402958 commit 839b6af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/example_sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if not is_available:
print(
"""scikit-learn needs to be installed for this example.
You can install it by running the following command:
If you use pip as a package manager, you can install it with the following command:
pip install scikit-learn"""
)
sys.exit(1)
Expand Down

0 comments on commit 839b6af

Please sign in to comment.