不好意思打扰了
请问提示:
Traceback (most recent call last):
File "
WYtoQQ.py", line 64, in <module>
browser = init_browser()
File "
WYtoQQ.py", line 61, in init_browser
browser = webdriver.PhantomJS(phantomjs_driver)
File "/Library/Python/2.7/site-packages/selenium/webdriver/phantomjs/
webdriver.py", line 52, in __init__
self.service.start()
File "/Library/Python/2.7/site-packages/selenium/webdriver/common/
service.py", line 81, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'phantomjs' executable needs to be in PATH.
是什么原因呢?