eaphammer icon indicating copy to clipboard operation
eaphammer copied to clipboard

No Module named 'pem'

Open Thestorm77 opened this issue 4 years ago • 1 comments

Just installed a fresh kali image 2020.4. Cloned the repository and ran the ./kali-setup script. When it was installing you can clearly see that pem requirement was met in the logs, but after the script finished i get the following error

Traceback (most recent call last): File "./eaphammer", line 4, in import cert_wizard File "/home/kali/eaphammer/cert_wizard/init.py", line 1, in from cert_wizard.core import import_cert File "/home/kali/eaphammer/cert_wizard/core.py", line 1, in import cert_wizard.cert_utils as cert_utils File "/home/kali/eaphammer/cert_wizard/cert_utils.py", line 3, in import pem ModuleNotFoundError: No module named 'pem'

When runing pip3-install pem it shows that it is installed

pip3 install pem Requirement already satisfied: pem in /usr/local/lib/python3.9/dist-packages (20.1.0)

Thestorm77 avatar Dec 31 '20 07:12 Thestorm77

Hey - The latest kali defaults to python3.9. You can find the problem in the eaphammer file, line numero uno:

#!/usr/bin/env python3.8

modify that line to

#!/usr/bin/env python3.9

cheers, @rev10d

rev10d avatar Jan 31 '21 06:01 rev10d

Resolved 1.14.0

s0lst1c3 avatar Oct 07 '23 18:10 s0lst1c3