inflearn logo
강의

講義

知識共有

仕事の自動化のためのPython pyautogui、beautifulsoupクロールの基盤

2022年アップデート - Python ウェブスクレイピング Melon TOP100 リアルタイムチャートランキング 検索結果を取得 - beautifulsoup, requests 基礎的な使い方

FileNotFound Error

413

jessie128518

投稿した質問数 2

0

driver = webdriver.Chrome() 

이걸 입력했더니 아래와 같은 에러가 뜨네요 ..크롬 드라이버  버전확인해서  설치했고 맥북입니다!  

--------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/selenium/webdriver/common/service.py in start(self)
     71             cmd.extend(self.command_line_args())
---> 72             self.process = subprocess.Popen(cmd, env=self.env,
     73                                             close_fds=platform.system() != 'Windows',

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, user, group, extra_groups, encoding, errors, text, umask)
    950 
--> 951             self._execute_child(args, executable, preexec_fn, close_fds,
    952                                 pass_fds, cwd, env,

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, gid, gids, uid, umask, start_new_session)
   1820                         err_msg = os.strerror(errno_num)
-> 1821                     raise child_exception_type(errno_num, err_msg, err_filename)
   1822                 raise child_exception_type(err_msg)

FileNotFoundError: [Errno 2] No such file or directory: 'chromedriver'

During handling of the above exception, another exception occurred:

WebDriverException                        Traceback (most recent call last)
<ipython-input-12-ec48251f04f8> in <module>
----> 1 driver = webdriver.Chrome()

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/selenium/webdriver/chrome/webdriver.py in __init__(self, executable_path, port, options, service_args, desired_capabilities, service_log_path, chrome_options, keep_alive)
     71             service_args=service_args,
     72             log_path=service_log_path)
---> 73         self.service.start()
     74 
     75         try:

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/selenium/webdriver/common/service.py in start(self)
     79         except OSError as err:
     80             if err.errno == errno.ENOENT:
---> 81                 raise WebDriverException(
     82                     "'%s' executable needs to be in PATH. %s" % (
     83                         os.path.basename(self.path), self.start_error_message)

WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

python 웹-크롤링

回答 0

import time

0

65

1

크롤링 실행시 멈춤

0

612

2

에러가 너무 납니다.

0

666

1

에러가 아래와 같이 뜨는데 어떤 이유 일가요?

0

516

0

import

0

260

0

소스 다운은 어디서 받나요?

0

283

0

네이버가 현재 강의로는 크롤링 안되게 해놓았네요

1

302

1

import error

0

378

1

.text 사용 시 값이 비어있는 칸은 nonetype이 들어가서 에러가 발생하는데 예외처리를 어떻게 해야하나요 ?

0

184

0

크롤링 할때 sh_blog_title 형식으로 안나오는데요! ㅠ

0

206

0

Pyautogui.moveTo 작동이 안돼요

1

495

0

네이버 검색 크롤링에서 무한 스크롤 문제 해결

0

440

0

키에러가 나는데 어떻게 해야하는지 궁금합니다.

1

507

1

에러가 뜹니다

0

219

0

스크린샷 폴더 위치 어떻게 아나요?

0

344

0

GuessedAtParserWarning가 뜨고 r의 타입이 다르게 나옵니다

0

707

2

keyError 해결

1

282

1

오류 관련 질문이요

0

747

1

공유하고 싶은 점

2

185

1

크롤링 실행할 때 질문입니다!!

0

268

1

클래스에 궁금한 점이요!!

0

221

1

질문있습니다.

0

237

1

주피터 노트북에서는 안되나요?

0

262

1

하나만 더 질문할게요..

0

237

1