slither
slither copied to clipboard
slither-simil doesn't work with pipx
Describe the issue:
pipx install slither-analyzer
pipx inject slither-analyzer git+https://github.com/facebookresearch/fastText#0.2.0
slither-simil
Then it complains about missing fasttext, although it's installed correctly (I can see it in the venv created by pipx).
Works only when I use pip3 --user --break-system-packages, but this is a bad practice since may mess with other packages.
Code example to reproduce the issue:
Version:
Relevant log output:
No response
Hi! Thanks for the report. The error is thrown when the import fails: https://github.com/crytic/slither/blob/master/slither/tools/similarity/model.py
I'm not sure why that wouldn't work with pipx in particular; can you get a shell on the environment and try to import it manually to see what happens?