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

ModuleNotFoundError: No module named 'src.request' #1

Open
stark0de opened this issue Jun 16, 2021 · 6 comments
Open

ModuleNotFoundError: No module named 'src.request' #1

stark0de opened this issue Jun 16, 2021 · 6 comments

Comments

@stark0de
Copy link

Hi, when I try to run the tool as specified in the README.md this is what I get, it seems that the tool is not importing the libraries correctly

root@kali:/tmp/HostPanic# python3 main.py -u https://www.google.com/ -v
Traceback (most recent call last):
  File "/tmp/HostPanic/main.py", line 2, in <module>
    from src.request import *
ModuleNotFoundError: No module named 'src.request'
@mr-medi
Copy link
Owner

mr-medi commented Jun 24, 2021

Hi stark0de, sorry for the delay.

I just follow the instructions of the README.md and it works for me.

Can you please specify what version of python3 are you using?
Run the following command to check it:
python3 --version

In my case I'm using the 3.8.5.

Thanks a lot for commenting the issue to me.
Let me know if using the 3.8.5 version works for you and maybe we need to do a little fix for the different python3 versions, also if you consider it necessary I can make a little video explaining it.

@Remourz
Copy link

Remourz commented Dec 4, 2021

I have the same issue as Stark, using python 3.9.8

@mr-medi
Copy link
Owner

mr-medi commented Dec 8, 2021

Hi @stark0de @Remourz ,

I have been digging into it and I noticed that I was using validators module and if you don't have installed it may have the same result as you comment, but I removed it since it not used anymore.

Can you please recheck again and tell me if it works properly? The only module you need to use this project is the BeautifulSoup. I'm working on a better way to specify the required modules like a requirements file.

Thanks in advance.

Best regards,
@mr-medi

@memmedrehimzade
Copy link

same error

1 similar comment
@sr-if
Copy link

sr-if commented May 17, 2023

same error

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

6 participants
@sr-if @memmedrehimzade @stark0de @mr-medi @Remourz and others