Closed Shiva108 closed 5 years ago
can you run a python3 shell in the eagle i folder and typ import utils.config ? Do you get a error?
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'
thats weird.... you are using parrot? Try using a Ubuntu VM please.
Even if it were to work under ubuntu it doesnt do much for parrot users.
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?
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'
Please try using docker which has been added in the latest commit: https://github.com/ThoughtfulDev/EagleEye#docker-preferred
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
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...
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'