Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI #8

Closed
ghost opened this issue Jul 4, 2023 · 15 comments
Closed

CLI #8

ghost opened this issue Jul 4, 2023 · 15 comments

Comments

@ghost
Copy link

ghost commented Jul 4, 2023

Hello, I face a proplem while I try to open the tool :

python zehef.py

Traceback (most recent call last): File "/home/kali/Desktop/OSINT/email-osint/Zehef/zehef.py", line 3, in
import main; main.version() ^^^^^^^^^^^^^^
File "/home/kali/Desktop/OSINT/email-osint/Zehef/main.py", line 9, in version from lib import CLI
ImportError: cannot import name 'CLI' from 'lib' (/usr/lib/python3/dist-packages/lib/init.py)

@XalyLodak
Copy link

Hi,

Try to install or reinstall the dependencies.

cd zehefPath/

pip install -r requirements.txt

otherwise try with package manager with package python3-, apt for Debian-based, pacman for Arch-based and dnf for Fedora-based.

The libs :
httpx
holehe (pip only)
argparse
datetime
pwnedpasswords
scrape-search-engine
requests

If you have any questions or other problems, I remain at your disposal.

@ghost
Copy link
Author

ghost commented Jul 4, 2023

Hello bro, I tryed to download all requirements again, also I tryed to talk every pip package and download it lonely also the sam result.

I think it may be in inti.py file in my python he says :

python3 zehef.py

Traceback (most recent call last): File "/home/kali/Desktop/OSINT/email-osint/Zehef/zehef.py", line 3, in
import main; main.version()
^^^^^^^^^^^^^^ File "/home/kali/Desktop/OSINT/email-osint/Zehef/main.py", line 9, in version
from lib import CLI
ImportError: cannot import name 'CLI' from 'lib' (/usr/lib/python3/dist-packages/lib/init.py)

@sumanrox
Copy link

sumanrox commented Jul 6, 2023

The most simple way to solve the issue is to create an empty "__init__.py" file under the lib folder, that's it, it should be solved, nothing else needed

@ghost
Copy link
Author

ghost commented Jul 6, 2023

The most simple way to solve the issue is to create an empty "init.py" file under the lib folder, that's it, it should be solved, nothing else needed

Do you mean lib in tool or in python3 package

@sumanrox
Copy link

sumanrox commented Jul 6, 2023 via email

@sumanrox
Copy link

sumanrox commented Jul 6, 2023 via email

@ghost
Copy link
Author

ghost commented Jul 6, 2023

In the repo, there is a lib folder, which contains CLI.py

________________________________ From: No One @.> Sent: Thursday, July 6, 2023 6:10:33 PM To: N0rz3/Zehef @.> Cc: Suman Roy @.>; Comment @.> Subject: Re: [N0rz3/Zehef] CLI (Issue #8) The most simple way to solve the issue is to create an empty "init.py" file under the lib folder, that's it, it should be solved, nothing else needed Do you mean lib in tool or in python3 package — Reply to this email directly, view it on GitHub<#8 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIY2PBTTT7Q7DUIAMRADJ5DXO2W4DANCNFSM6AAAAAAZ5PPGWQ. You are receiving this because you commented.Message ID: @.***>

Bro I go to /usr/lib/python3/dist_packges/lib

Then I found that file inti.py exist. also I tryed random thing and I make file called "CLI.py" and tryed to run but it didn't run.

@ghost
Copy link
Author

ghost commented Jul 6, 2023

Note : I use nethunter

@sumanrox
Copy link

sumanrox commented Jul 6, 2023

Screenshot_20230706_214019
Screenshot_20230706_214340

when you cloned the repo, it should be there. I have included screenshots

@ghost
Copy link
Author

ghost commented Jul 7, 2023

Screenshot_20230706_214019 Screenshot_20230706_214340

when you cloned the repo, it should be there. I have included screenshots

Yes I found it also I found CIL.py but I didn't know what's proplem happend

@sumanrox
Copy link

sumanrox commented Jul 7, 2023 via email

@ghost
Copy link
Author

ghost commented Jul 7, 2023

Nice information I will get deep on it later. when I try to see anything I found it empty I will try to reinstall it..may be there was an error while installing then I will try to see what's wrong in python. What I should do in this situation ?

@sumanrox
Copy link

sumanrox commented Jul 7, 2023 via email

@ghost
Copy link
Author

ghost commented Jul 7, 2023

There is nothing to install, all you need to do is create that empty init.py file in the lib folder and everything should work

________________________________ From: No One @.> Sent: Friday, July 7, 2023 12:35:14 PM To: N0rz3/Zehef @.> Cc: Suman Roy @.>; Comment @.> Subject: Re: [N0rz3/Zehef] CLI (Issue #8) Nice information I will get deep on it later. when I try to see anything I found it empty I will try to reinstall it..may be there was an error while installing then I will try to see what's wrong in python. What I should do in this situation ? — Reply to this email directly, view it on GitHub<#8 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIY2PBRW3VYK4IUQL3PWZX3XO6YKVANCNFSM6AAAAAAZ5PPGWQ. You are receiving this because you commented.Message ID: @.***>

Bro it worked...I reinstalled it and when you told me to make file " ___in* " I told myself that he already created why I would create onther. Then I wnt to check it agin I didn't find any thing then I create it with nano as type of change then it work.

Note : I make upgrade .By the way thank you for your help.

@ghost ghost closed this as completed Jul 7, 2023
@ghost
Copy link
Author

ghost commented Jul 7, 2023

I thank everyone helped me

Solve :
cd Zehf/lib

Create folder inti.py with correct syntax.

It should work

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants