I am new to CTF and want to currently experiment with pwntools, but when I run brew install pwntools and try to execute a script importing pwntools like so: from pwn import *, I get the following error: ModuleNotFoundError: No module named 'pwn'.
I have also gone through the installation guides at https://docs.pwntools.com/ and followed the steps, but to no avail.
Can someone point me to the possible reason behind this?
I believe that homebrew recipe is created by someone else. Try using pip to install pwntools as documented in the install instructions. You might need to install the binutils through homebrew though.
I am new to CTF and want to currently experiment with pwntools, but when I run
brew install pwntools
and try to execute a script importing pwntools like so:from pwn import *
, I get the following error:ModuleNotFoundError: No module named 'pwn'
. I have also gone through the installation guides at https://docs.pwntools.com/ and followed the steps, but to no avail. Can someone point me to the possible reason behind this?