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 'pkg_resources #644

Open
yanhuasanyuexyz opened this issue Nov 3, 2023 · 3 comments
Open

ModuleNotFoundError: No module named 'pkg_resources #644

yanhuasanyuexyz opened this issue Nov 3, 2023 · 3 comments
Labels
freshissue Default label for new, untriaged issues.

Comments

@yanhuasanyuexyz
Copy link

Microsoft Windows [版本 10.0.19045.2728]
(c) Microsoft Corporation。保留所有权利。

C:\Users\Administrator>objection
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Scripts\objection.exe_main
.py", line 4, in
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\objection\console\cli.py", line 8, in
from .repl import Repl
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\objection\console\repl.py", line 14, in
from objection.utils.agent import Agent
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\objection\utils_init
.py", line 7, in
from .update_checker import check_version
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\objection\utils\update_checker.py", line 7, in
from pkg_resources import parse_version
ModuleNotFoundError: No module named 'pkg_resources'

C:\Users\Administrator>

@yanhuasanyuexyz yanhuasanyuexyz added the freshissue Default label for new, untriaged issues. label Nov 3, 2023
@Ryan-Sapone
Copy link

+1 same issue after installing frida-tools

C:\Users\MYUSER>objection
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\MYUSER\AppData\Local\Programs\Python\Python312\Scripts\objection.exe_main
.py", line 4, in
File "C:\Users\MYUSER\AppData\Local\Programs\Python\Python312\Lib\site-packages\objection\console\cli.py", line 8, in
from .repl import Repl
File "C:\Users\MYUSER\AppData\Local\Programs\Python\Python312\Lib\site-packages\objection\console\repl.py", line 14, in
from objection.utils.agent import Agent
File "C:\Users\MYUSER\AppData\Local\Programs\Python\Python312\Lib\site-packages\objection\utils_init
.py", line 7, in
from .update_checker import check_version
File "C:\Users\MYUSER\AppData\Local\Programs\Python\Python312\Lib\site-packages\objection\utils\update_checker.py", line 7, in
from pkg_resources import parse_version
ModuleNotFoundError: No module named 'pkg_resources'

@morellanthony
Copy link

try pip install --force-reinstall -U setuptools

@Ryan-Sapone
Copy link

try pip install --force-reinstall -U setuptools

Thank you morellanthony - this was able to resolve the issue for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
freshissue Default label for new, untriaged issues.
Projects
None yet
Development

No branches or pull requests

3 participants