ThoughtfulDev / EagleEye

Stalk your Friends. Find their Instagram, FB and Twitter Profiles using Image Recognition and Reverse Image Search.
Do What The F*ck You Want To Public License
4.22k stars 560 forks source link

executor failed running [/bin/sh -c apt-get update && add-apt-repository -y ppa:deadsnakes/ppa && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3.6 python3.6-dev] #157

Open Drjacky opened 1 year ago

Drjacky commented 1 year ago
#9 5.712 Get:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease [18.1 kB]
#9 5.862 Fetched 18.1 kB in 1s (16.4 kB/s)
#9 5.862 Reading package lists...
#9 6.699 Reading package lists...
#9 7.708 Building dependency tree...
#9 7.864 Reading state information...
#9 8.010 E: Unable to locate package python3.6
#9 8.010 E: Couldn't find any package by glob 'python3.6'
#9 8.010 E: Couldn't find any package by regex 'python3.6'
#9 8.010 E: Unable to locate package python3.6-dev
#9 8.010 E: Couldn't find any package by glob 'python3.6-dev'
#9 8.010 E: Couldn't find any package by regex 'python3.6-dev'
------
executor failed running [/bin/sh -c apt-get update && add-apt-repository -y ppa:deadsnakes/ppa && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3.6 python3.6-dev]: exit code: 100
Drjacky commented 1 year ago

I installed it manually: https://github.com/ThoughtfulDev/EagleEye#manual-prerequisites-installation-if-you-are-hardcore

Now, I get this:

==> How many jitters, higher is better [max 100] (default=70): 100

:: Google Reverse Image Search
==> Opening Webdriver

:: Uploading Local Known Images
==> Please agree to google's stuff in the browser
Traceback (most recent call last):
  File "/EagleEye/eagle-eye.py", line 229, in <module>
    main(skipFB=args.skipfb, FBUrls=[], jsonRep=jsonRepFile, dockerMode=aDocker, dockerName=aName)
  File "/EagleEye/eagle-eye.py", line 131, in main
    g.collectLinksLocal()
  File "/EagleEye/grabber/google.py", line 136, in collectLinksLocal
    elems = driver.find_elements_by_xpath(self.PHOTO_XPATH)[0]
AttributeError: 'WebDriver' object has no attribute 'find_elements_by_xpath'
Drjacky commented 1 year ago

Selenium just removed that method in version 4.3.0. See the CHANGES: https://github.com/SeleniumHQ/selenium/blob/a4995e2c096239b42c373f26498a6c9bb4f2b3e7/py/CHANGES

https://stackoverflow.com/a/72754667/421467