Advertisement
Guest User

Untitled

a guest
Jul 10th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. $ make scrape
  2. venv/bin/python src/metadata_scraper.py
  3. Traceback (most recent call last):
  4. File "/home/dsmall/va_voter_data_map/venv/lib/python3.5/site-packages/selenium/webdriver/common/service.py", line 74, in start
  5. stdout=self.log_file, stderr=self.log_file)
  6. File "/usr/lib/python3.5/subprocess.py", line 947, in init
  7. restore_signals, start_new_session)
  8. File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
  9. raise child_exception_type(errno_num, err_msg)
  10. FileNotFoundError: [Errno 2] No such file or directory: 'include/phantomjs/phantomjs'
  11.  
  12. During handling of the above exception, another exception occurred:
  13.  
  14. Traceback (most recent call last):
  15. File "src/metadata_scraper.py", line 124, in
  16. driver = webdriver.PhantomJS(DRIVER_PATH)
  17. File "/home/dsmall/va_voter_data_map/venv/lib/python3.5/site-packages/selenium/webdriver/phantomjs/webdriver.py", line 52, in init
  18. self.service.start()
  19. File "/home/dsmall/va_voter_data_map/venv/lib/python3.5/site-packages/selenium/webdriver/common/service.py", line 81, in start
  20. os.path.basename(self.path), self.start_error_message)
  21. selenium.common.exceptions.WebDriverException: Message: 'phantomjs' executable needs to be in PATH.
  22.  
  23. Makefile:7: recipe for target 'scrape' failed
  24. make: *** [scrape] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement