0

I installed Slither in my directorySlither Installed

However, when I enter slither . or slither hello.sol Doesn't work.

I checked to see if it was the $PATH for python in my Mac and I think that is the issue. I don't know which $PATH I should set so that Slither runs.

Here's some info that could be useful and specific for this:

pwd

My PATH:

enter image description here

1
  • From the error message it appears to be installed in /Users/david/Library/Python/3.8/. I'd check for the slither command in a subdirectory.
    – Ismael
    Commented Jun 4, 2022 at 19:19

1 Answer 1

1

I had the same error, to solve it ran the following installation command inside the vscode terminal instead of running it in the normal mac terminal:

pip3 install slither-analyzer

I followed this guide: https://coinsbench.com/simplest-way-to-run-slither-for-your-smart-contract-project-4bdb367c06e2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.