Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No module named frida

To install frida I used the command sudo pip install frida-tools and installation was succesful:

Installing collected packages: frida, frida-tools Successfully installed frida-12.7.16 frida-tools-5.1.0

but when running the command: frida --version

I get the following error:

  File "/usr/local/bin/frida", line 8, in <module>
    sys.exit(main())
  File "/Library/Python/2.7/site-packages/frida_tools/repl.py", line 24, in main
    import frida
ImportError: No module named frida```
like image 255
David Avatar asked Oct 19 '25 02:10

David


1 Answers

sudo pip3 install frida-tools
$ unlink /usr/local/bin/python
$ ln -s /usr/local/bin/python3.7 /usr/local/bin/python

Alternative

$ cd ~/
$ open -e .bash_profile

paste to the editor, to the top

 alias python='python3'

save, then run

$ source ~/.bash_profile
like image 70
Yusuf Baktir Avatar answered Oct 20 '25 15:10

Yusuf Baktir



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!