We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 414d88f commit aefe269Copy full SHA for aefe269
slither/tools/similarity/model.py
@@ -2,9 +2,9 @@
2
3
try:
4
# pylint: disable=unused-import
5
- from fastText import load_model
6
- from fastText import train_unsupervised
+ from fasttext import load_model
+ from fasttext import train_unsupervised
7
except ImportError:
8
- print("ERROR: in order to use slither-simil, you need to install fastText 0.2.0:")
9
- print("$ pip3 install https://github.com/facebookresearch/fastText/archive/0.2.0.zip --user\n")
+ print("ERROR: in order to use slither-simil, you need to install fasttext>=0.2.0:")
+ print("$ pip3 install fasttext --user\n")
10
sys.exit(-1)
0 commit comments