[Solved] Install scapy on Ubuntu 22.04
If you try to install scapy from apt, you will see the following issues:
sudo apt install python3-scapy
sudo scapy
<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()
<frozen importlib._bootstrap>:671: ImportWarning: _SixMetaPathImporter.exec_module() not found; falling back to load_module()
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
To solve them, you need pyx module
sudo apt install python3-pyx
I could not find info about _SixMetaPathImporter.exec_module()
To avoid this warning, just install the git version:
git clone https://github.com/secdev/scapy.git
cd scapy
sudo python3 setup.py install
Enjoy it!
Comments
Post a Comment