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.19k stars 558 forks source link

error running python3 eagle-eye.py #46

Closed glaucobonomo closed 5 years ago

glaucobonomo commented 5 years ago

hello, i installed all compunents and if i run the script it says

Traceback (most recent call last): File "eagle-eye.py", line 9, in import utils.config as cfg File "/home/lupintheman/Documenti/tools/EagleEye/utils/config.py", line 8, in cfg = json.load(json_data) File "/usr/lib/python3.6/json/init.py", line 299, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "/usr/lib/python3.6/json/init.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.6/json/decoder.py", line 355, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting ',' delimiter: line 15 column 2 (char 297)

specifying python3.7 i get

Traceback (most recent call last): File "eagle-eye.py", line 9, in import utils.config as cfg File "/home/lupintheman/Documenti/tools/EagleEye/utils/config.py", line 5, in from selenium import webdriver ModuleNotFoundError: No module named 'selenium'

moved selenium in 3.7 folder and run again, i get the same result as the first i wrote here... what should i do?

ThoughtfulDev commented 5 years ago

First you are using python3.6 (see the error - /usr/lib/python3.6/json...) So use the python3.6 binary and the corresponding pip version e.g pip3.6 regarding your first error. Seems like you have messed up the config.json. Please show the config.json