Before running the script, ensure your system is set up with the necessary dependencies.
- Download Python 3.8.1:
- Visit Python.org and download the Python 3.8.1 installer for your operating system.
- Follow the installation instructions, making sure to check the box that says "Add Python 3.8 to PATH" at the beginning of the installation process.
Setting up a virtual environment for Python projects is recommended as it allows you to manage dependencies separately for each project.
- Create and Activate Virtual Environment:
- Open a terminal or command prompt.
- Navigate to your project directory:
cd DNA
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- On Windows:
- Install Selenium:
- With your virtual environment activated, install Selenium and web driver manager using pip:
pip install selenium pip install webdriver-manager
- With your virtual environment activated, install Selenium and web driver manager using pip:
- Verify All Dependencies:
- Ensure all installations are correctly done by checking the installed packages:
pip list
- Ensure all installations are correctly done by checking the installed packages:
- Upgrade pip:
- It's a good practice to keep pip updated:
python -m pip install --upgrade pip
- It's a good practice to keep pip updated:
To run the script, navigate to the script's directory and run:
python src/main.py
Script will output runtime logs using Python native logger.