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>
  File "/Library/Python/2.7/site-packages/frida_tools/", line 24, in main
    import frida
ImportError: No module named frida```


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


$ cd ~/
$ open -e .bash_profile

paste to the editor, to the top

 alias python='python3'

save, then run

$ source ~/.bash_profile

Answered By – 1__

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published