Networking Basics for Ethical Hackers (Beginner to Pro Guide)
LearnSkillsHub is a technology learning blog focused on providing simple and practical tutorials for beginners. This blog covers ethical hacking, Kali Linux guidance, cyber security basics, networking concepts, and modern technology tutorials. Our goal is to make complex technical topics easy to understand through clear, step-by-step explanations and ethical learning practices. OFFICIAL YOUTUBE :-https://youtube.com/@learnskills-rk7rv?si=zeXay9-j6APMVbAp
Mr. Holmes is a popular OSINT (Open-Source Intelligence) tool used in ethical hacking and cybersecurity learning.
However, many beginners face an error while running the tool on Kali Linux:
ModuleNotFoundError: No module named 'pdfkit'
This error can be confusing, especially for new users.
In this article, you will learn why this error occurs and how to fix it step by step in a clean and safe way.
When trying to run Mr. Holmes using the command:
sudo python3 MrHolmes.py
You may see the following traceback ending with:
ModuleNotFoundError: No module named 'pdfkit'
Some users also try to activate a virtual environment and get:
source .lib_venv/bin/activate
source: no such file or directory
This issue usually occurs due to one or more of the following reasons:
You attempted to activate a virtual environment that does not exist.
The pdfkit module and other required packages were not installed from requirements.txt.
The pdfkit library requires an external system package called wkhtmltopdf, which is not installed by default.
Follow these steps in the same order to avoid further errors.
cd ~/Downloads/Mr.Holmes
python3 -m venv venv
This creates an isolated Python environment for the tool.
source venv/bin/activate
Once activated, your terminal will look like this:
(venv) user@kali:~/Downloads/Mr.Holmes$
pip install -r requirements.txt
This command installs all necessary Python modules, including pdfkit.
sudo apt install wkhtmltopdf
This step is mandatory because pdfkit depends on it.
python3 MrHolmes.py
If everything is installed correctly, the tool should start without errors.
❌ Running the tool with sudo
❌ Skipping the virtual environment
❌ Ignoring requirements.txt
❌ Forgetting to install wkhtmltopdf
✔ Always run Python tools as a normal user
✔ Use virtual environments for stability
Using a virtual environment prevents:
Dependency conflicts
System Python breakage
Permission-related errors
This is considered a best practice in both cybersecurity and software development.
The error:
ModuleNotFoundError: No module named 'pdfkit'
is not a bug in Mr. Holmes itself.
It simply means the required dependencies are missing.
By:
Creating a virtual environment
Installing Python requirements
Installing wkhtmltopdf
you can easily fix the issue and run Mr. Holmes smoothly on Kali Linux.
Mr. Holmes should only be used for educational and ethical purposes.
Always ensure you have proper authorization before performing any reconnaissance or data collection activities.
RedMark
Ethical Hacking | OSINT | Kali Linux
Comments
Post a Comment