Inflearn Community Q&A
팬텀js 불러오기 오류입니다
Written on
·
767
0
module 'selenium.webdriver' has no attribute 'PhantomJS' 라고 뜹니다.
코드는 이렇게 했습니다.
from selenium import webdriver
driver = webdriver.PhantomJS('C:/Pythonsource/Workspace/Crawling/section3/복습/3-6(all)/phantomjs/bin/phantomjs')
웹-크롤링python
Answer 3
0
0
niceman
Instructor
중간에 한글이 들어가면 경로가 인식이 안되는 경우가 있습니다.
영문으로 변경해서 정확하게 다시 해보세요.
잘 안되시면 c:/폴더명으로 찾기 쉽게 해서 모듈을 불러오시면 됩니다.
0





