How do I solve the following problem when I run the code?
service = service(executable_path=ChromeDriverManager().install())
TypeError: 'module' object is not callable
I think there are so many problems in your code:-

You import service module like this:
from selenium import webdriver
import Service
import ChromeDriverManager


but actually you have to import like this
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ChromeDriverManager

Update your modules to latest version

Dont use modules name as variables
TypeError: 'module' object is not callable