Where are python libraries installed?

As in thread name: when you install some python libraries using pip install -r requirements.txt or maybe using selenium/standalone-chrome:107.0 docker image → WHERE are those installed, how to know their directory/path? I just need exact path to webdriver/chromedriver (Selenium), as I’m using s=Service(“path/to/webdriver”) in my python code. It doesn’t work with any path/directory I tried so far. There’s one of errors I received:

selenium.common.exceptions.WebDriverException: Message: Service ./home/circleci/.wdm/drivers/chromedriver/linux64/108.0.5359/chromedriver unexpectedly exited. Status code was: 127

Below is my config.yml I was using:

version: 2.1
jobs:
  build:
    docker:
      - image: circleci/python:3.8
      - image: selenium/standalone-chrome:107.0

    steps:
      - checkout
      - run:
          name: Upgrade pip
          command: |
            pip install --upgrade pip
      - run:
          name: Install Dependencies
          command: |
            pip install -r requirements.txt
      - run:
          name: Run Selenium Tests1
          command: |
            python -m pytest test_page.py