System requirements
Operating system
Linux (Ubuntu/Kali recommended) or Termux on Android
Python version
Python 3.8 or higher
While IP-Tracker is designed for Linux environments, it should work on macOS and Windows with Python 3.8+ installed. The color output works best on Unix-like terminals.
Dependencies
IP-Tracker requires the following Python packages:- requests: HTTP library for API calls to ip-api.com and ipinfo.io
- phonenumbers: Google’s libphonenumber library for phone number parsing and validation
os,sys,re,datetime
Installation steps
Clone the repository
Clone the IP-Tracker repository from GitHub:This will download all necessary files including the main
tracker.py script.Install Python dependencies
Install the required packages using pip:Or install them individually:
If you encounter permission errors, try using
--user flag:Verify installation
Check that all dependencies are installed correctly:If successful, you should see:
Directory structure
After installation and first run, your directory structure will look like this:The
Resultados_Tracker directory is created automatically on first run. All query results are saved here with timestamped filenames.Troubleshooting
ModuleNotFoundError: No module named 'requests'
ModuleNotFoundError: No module named 'requests'
The If using a virtual environment, ensure it’s activated before installing packages.
requests library is not installed. Run:ModuleNotFoundError: No module named 'phonenumbers'
ModuleNotFoundError: No module named 'phonenumbers'
The
phonenumbers library is not installed. Run:Permission denied when running script
Permission denied when running script
Make the script executable:Or run with
python3 explicitly:Colors not displaying correctly
Colors not displaying correctly
IP-Tracker uses ANSI color codes. If colors don’t display:
- Ensure you’re using a terminal that supports ANSI colors
- On Windows, use Windows Terminal or WSL
- The tool will still work without colors
API timeout errors
API timeout errors
If you see timeout errors:
- Check your internet connection
- The tool uses a 10-second timeout for API calls
- Some networks may block HTTP requests to external APIs
- Try using a different network or VPN
Environment-specific notes
Termux (Android)
For Termux users on Android:Kali Linux
Kali Linux typically has Python pre-installed:Next steps
Quick start guide
Learn how to perform your first IP lookup and phone number analysis