I don't understand the error.

Asked 2 years ago, Updated 2 years ago, 39 views

My environment is Ubuntu 18.10, python 2.7.I want to use Social_mapper, but I tried python. However, an error occurred.

pwd
/home/ubuntu/san/social_mapper

python social_mapper.py-imagefolder-i/home/ubuntu/san/social_mapper/image-m fast-a
/home/ubuntu/.local/lib/python 2.7/site-packages/bs4/element.py:16: UserWarning: The suspend package is not installed.CSS selectors cannot be used.
  'The sweep package is not installed.CSS selectors cannot be used.'
[-] Error Filling out Facebook Profiles [-]
Message: 'geckodriver' executable needs to be in PATH. 

[-]
Traceback (most recent call last):
  File "social_mapper.py", line 1112, in<module>
    peoplelist=fill_twitter(peoplelist)
  File "social_mapper.py", line 218, infill_twitter
    TwitterfinderObject=twitterfinder.Twitterfinder (showbrowser)
  File "/home/ubuntu/san/social_mapper/modules/twitterfinder.py", line 19, in __init__
    self.driver=webdriver.Firefox()
  File"/home/ubuntu/.local/lib/python 2.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 164, in__init__
    self.service.start()
  File"/home/ubuntu/.local/lib/python 2.7/site-packages/selenium/webdriver/common/service.py", line83, install
    os.path.basename(self.path), self.start_error_message)
selenium.common.exception.WebDriverException: Message: 'geckodriver' executable needs to be in PATH. 

python ubuntu

2022-09-30 16:00

1 Answers

The following message is an error because the geckodriver required for operation is not found in the running PATH.

Message: 'geckodriver' executable needs to be in PATH. 

Make sure that you meet the installation prerequisites.README also provides instructions.

Prerequisites
As this is a python based tool, it should have been run on Linux, chromeOS (Developer Mode) and Mac. The main requirements are Firefox, Selenium and Geckodriver.

Since it is a python-based tool, it should theoretically work on Linux, chromeOS (Developer Mode), and Macs.The main requirements are Firefox, Selenium, and Geckodriver.

(abbreviated)

In the past, someone with a different ID asked me about installing geckodriver, and I answered .

If you unintentionally have a different ID, consider merging your accounts with help.

Help:
I created two accounts by mistake.How can I merge?


2022-09-30 16:00

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.