
동적페이지 크롤링을 하고싶어서 여기저기 찾아보고있는데
pip install webdriver-manage
pip install selenium
파이참에서도 webdrier-manage 3.8.4
selenium 4.5.0
모두 설치했고
ModuleNotFoundError: No module named 'packaging' 관련 에러는 구글링해보니 python -m pip install --upgrade pip 업그레이드하라고 해서
업그레이드까지 다 마쳤는데 에러가 지속 발생하거든요 ㅜㅜ
확인좀 부탁드릴꼐요!


작성한 코드 및 에러 메세지
from flask import Flask, render_template, request, jsonify
app = Flask(__name__)
from pymongo import MongoClient
client = MongoClient('mongodb+srv://soyoungmin:thdudals123@cluster0.shreq0e.mongodb.net/?retryWrites=true&w=majority')
db = client.dbspart
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.chrome.options import Options
from webdriver_manager.chrome import ChromeDriverManager
service=Service(executable_path=ChromeDriverManager().install())
driver = webdriver.Chrome(service=service, options=chrome_options)
driver.get("http://www.naver.com")
