Nekmo / dirhunt

Find web directories without bruteforce
MIT License
1.75k stars 236 forks source link

Traceback errors when I was trying to install the optional dependence i.e urllib3[socks] #106

Closed TaqwaGuy closed 1 year ago

TaqwaGuy commented 1 year ago

pip3 install 'urllib3[socks]' Requirement already satisfied: urllib3[socks] in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (1.26.12) Requirement already satisfied: PySocks!=1.5.7,<2.0,>=1.5.6 in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from urllib3[socks]) (1.7.1) --- Logging error --- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/utils/logging.py", line 177, in emit self.console.print(renderable, overflow="ignore", crop=False, style=style) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/rich/console.py", line 1673, in print extend(render(renderable, render_options)) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/rich/console.py", line 1305, in render for render_output in iter_render: File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/utils/logging.py", line 134, in rich_console for line in lines: File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/rich/segment.py", line 249, in split_lines for segment in segments: File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/rich/console.py", line 1283, in render renderable = rich_cast(renderable) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/rich/protocol.py", line 36, in rich_cast renderable = cast_method() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/self_outdated_check.py", line 130, in rich__ pip_cmd = get_best_invocation_for_this_pip() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/utils/entrypoints.py", line 58, in get_best_invocation_for_this_pip if found_executable and os.path.samefile( File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/genericpath.py", line 101, in samefile s2 = os.stat(f2) FileNotFoundError: [Errno 2] No such file or directory: '/Library/Frameworks/Python.framework/Versions/3.10/bin/pip' Call stack: File "/Library/Frameworks/Python.framework/Versions/3.10/bin/pip3", line 8, in sys.exit(main()) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/cli/main.py", line 70, in main return command.main(cmd_args) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 101, in main return self._main(args) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 223, in _main self.handle_pip_version_check(options) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 190, in handle_pip_version_check pip_self_version_check(session, options) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/self_outdated_check.py", line 236, in pip_self_version_check logger.warning("[present-rich] %s", upgrade_prompt) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/init.py", line 1489, in warning self._log(WARNING, msg, args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/init.py", line 1624, in _log self.handle(record) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/init.py", line 1634, in handle self.callHandlers(record) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/init.py", line 1696, in callHandlers hdlr.handle(record) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/init__.py", line 968, in handle self.emit(record) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_internal/utils/logging.py", line 179, in emit self.handleError(record) Message: '[present-rich] %s' Arguments: (UpgradePrompt(old='22.2.2', new='22.3'),)

Nekmo commented 1 year ago

Sorry but this is not a telegram-upload error. This is an error in pip or your python installation. Thanks.