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

Eagleeye import fails, even under virtualenv #61

Closed Shiva108 closed 5 years ago

Shiva108 commented 5 years ago

Ran ./install.sh and pip3 install -r requirements. Also made virtualenv just for EagleEye to run in. Tried pip3 install config too. Still result is as follows: (eagleeye) ┌─[root@parrot]─[/home/e/EagleEye] └──╼ #python3 eagle-eye.py Traceback (most recent call last): File "eagle-eye.py", line 9, in import utils.config as cfg ModuleNotFoundError: No module named 'utils.config'

ThoughtfulDev commented 5 years ago

can you run a python3 shell in the eagle i folder and typ import utils.config ? Do you get a error?

Shiva108 commented 5 years ago

Yes: Python 3.7.3rc1 (default, Mar 13 2019, 11:01:15) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import utils.config Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'utils.config'

ThoughtfulDev commented 5 years ago

thats weird.... you are using parrot? Try using a Ubuntu VM please.

Shiva108 commented 5 years ago

Even if it were to work under ubuntu it doesnt do much for parrot users.

ThoughtfulDev commented 5 years ago

thats true. can you go into the utils folder run a python shell and import config ?

I really dont get why it cannot import. seems pythons cwd is wrong?

can you run a python shell in the base dir of eagle eye an type

import os
os.getcwd()

what does it print?

Shiva108 commented 5 years ago

Python 2.7.16 (default, Apr 6 2019, 01:42:57) [GCC 8.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import os os.getcwd() '/home/e/EagleEye/utils'

ThoughtfulDev commented 5 years ago

Please try using docker which has been added in the latest commit: https://github.com/ThoughtfulDev/EagleEye#docker-preferred

Shiva108 commented 5 years ago

Didnt seem to help: └──╼ #./entry.sh ./entry.sh: line 2: cd: /EagleEye: No such file or directory Traceback (most recent call last): File "/home/e/EagleEye/eagle-eye.py", line 14, in from grabber.instagram import InstagramGrabber File "/home/e/EagleEye/grabber/instagram.py", line 1, in from requests_html import HTMLSession ModuleNotFoundError: No module named 'requests_html' cp: cannot create regular file '/result/': Not a directory

ThoughtfulDev commented 5 years ago

I just tried using docker on Parrot. You did not follow the docker guide you just ran the entry.sh which is wrong. Please read the docker instructions in the README file...