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 'resource' #2

Open
issamjebnouni opened this issue Jul 17, 2023 · 1 comment
Open

ModuleNotFoundError: No module named 'resource' #2

issamjebnouni opened this issue Jul 17, 2023 · 1 comment

Comments

@issamjebnouni
Copy link

I got this error when i worked on a virtual environment to avoid conflicts and installed all necessary packages:
(test) C:\Users\jebno\Desktop\test>rtspscanner -m scan -c admin:Tunisys-2021 -a 172.21.40.10
Traceback (most recent call last):
File "C:\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\jebno\Desktop\test\Scripts\rtspscanner.exe_main
.py", line 4, in
File "C:\Users\jebno\Desktop\test\lib\site-packages\rtspscanner.py", line 28, in
from portscan import PortScan
File "C:\Users\jebno\Desktop\test\lib\site-packages\portscan.py", line 13, in
import resource
ModuleNotFoundError: No module named 'resource'

@T0biasCZe
Copy link

open portscan.py and remove import resource and resource.setrlimit

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