Installation - Jesse8821/IP-Location-Lookup GitHub Wiki

Installation

Follow the steps below to install and run the script on your platform.

Windows

  1. Install Python: Make sure Python 3.6 or higher is installed on your machine. You can download Python from python.org.

  2. Install dependencies: Open Command Prompt and run the following command to install the requests module:

    pip install requests
    
    

Download the script: Clone or download the repository to your local machine.

Run the script: Navigate to the directory where the script is located and run it:

python ip_location_lookup.py

macOS / Linux Install Python: Python is often pre-installed on macOS and Linux. Check if it's installed by running the following command in the terminal:

python3 --version

Install dependencies: Open the terminal and run the following command to install the requests module:

pip3 install requests

Download the script: Clone the repository or download the ZIP files.

Run the script: Navigate to the folder where the script is located and run it:

python3 ip_location_lookup.py