crytic / slither

Static Analyzer for Solidity and Vyper
https://blog.trailofbits.com/2018/10/19/slither-a-solidity-static-analysis-framework/
GNU Affero General Public License v3.0
5.33k stars 967 forks source link

Unable to run slicer in ide #2263

Closed zhangzone closed 7 months ago

zhangzone commented 10 months ago

I used your method [https://github.com/crytic/slither/wiki/Developer-installation] to solve this problem, but in the end, the same problem still occurred, and I also used other computers to operate in the same situation. Still displaying ModuleNotFoundError: No module named 'Slither. core' Slither 'is not a package. May I ask how you step by step downloaded the slicer on a new computer and modified it on the IDE? Can you tell me the specific operating steps

0xalpharush commented 8 months ago

Could you provide what commands you ran and paste the log output?

zhangzone commented 7 months ago

I have resolved this issue by placing the main. py in the slicer directory to a higher level