Closed skywalker0803r closed 1 year ago
while it tries to install the packages it tries to install impacket and fails because impacket depends on other packages and while installing them it crashes.. this fail mostly happens due to a version conflicts..
Version
2.4 (Default)
Which section is the problem?
L7 (DDoS Attack Layer 7)
Please complete the following information
What happened (Describe the bug) ?
when I run : sudo pip install -r requirements.txt
error message : Traceback (most recent call last): File "/usr/bin/pip", line 8, in
sys.exit(main())
^^^^^^
File "/usr/lib/python3/dist-packages/pip/_internal/cli/main.py", line 70, in main
return command.main(cmd_args)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 100, in main
with self.main_context():
File "/usr/lib/python3.11/contextlib.py", line 144, in exit
next(self.gen)
File "/usr/lib/python3/dist-packages/pip/_internal/cli/command_context.py", line 19, in main_context
with self._main_context:
File "/usr/lib/python3.11/contextlib.py", line 589, in exit
raise exc_details[1]
File "/usr/lib/python3.11/contextlib.py", line 574, in exit
if cb(exc_details):
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/contextlib.py", line 144, in exit
next(self.gen)
File "/usr/lib/python3/dist-packages/pip/_internal/utils/temp_dir.py", line 31, in global_tempdir_manager
with ExitStack() as stack:
File "/usr/lib/python3.11/contextlib.py", line 589, in exit
raise exc_details[1]
File "/usr/lib/python3.11/contextlib.py", line 574, in exit
if cb(exc_details):
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pip/_internal/utils/temp_dir.py", line 156, in exit
self.cleanup()
File "/usr/lib/python3/dist-packages/pip/_internal/utils/temp_dir.py", line 173, in cleanup
rmtree(self._path)
File "/usr/lib/python3/dist-packages/pip/_vendor/tenacity/init.py", line 328, in wrapped_f
return self(f, *args, *kw)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pip/_vendor/tenacity/init.py", line 408, in call
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pip/_vendor/tenacity/init.py", line 364, in iter
raise retry_exc.reraise()
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pip/_vendor/tenacity/init.py", line 197, in reraise
raise self.last_attempt.result()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/_base.py", line 449, in result
return self.get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in get_result
raise self._exception
File "/usr/lib/python3/dist-packages/pip/_vendor/tenacity/init.py", line 411, in call
result = fn(args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pip/_internal/utils/misc.py", line 129, in rmtree
shutil.rmtree(dir, ignore_errors=ignore_errors, onerror=rmtree_errorhandler)
File "/usr/lib/python3.11/shutil.py", line 732, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.11/shutil.py", line 660, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib/python3.11/shutil.py", line 660, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib/python3.11/shutil.py", line 683, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.11/shutil.py", line 681, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'atexec.py'
Screenshots
https://i.imgur.com/Lmm57NP.png
Please provide a link to a minimal reproduction of the bug
No response
Relevant log output
Additional context
No response
Your code
No response