在 Termux 0.118.3 内核 4.9.337 aarch64 上启动 Routersploit 失败 - 没有名为 'pkg_resources' 的模块

作者: Czechball创建于 2026年5月17日更新于 2026年7月9日

Hello, after successfully setting up Routersploit in a Termux environment on Android, it will not start. Installation steps: * Cloned https://GitHub.com/threat9/routersploit.git with git * Installed requirements.txt with pip (Python 3.13.13) * Verified the presence of required packages such as requests, paramiko, pysnmp, pycrypto... After these steps, I have tried to start the actual script with Python: ``python3 ./rsf.py`` which results in these errors: Traceback (most recent call last): File "/data/data/com.termux/files/home/routersploit/rsf.py", line 9, in <module> from routersploit.interpreter import RoutersploitInterpreter File "/data/data/com.termux/files/home/routersploit/routersploit/interpreter.py", line 12, in <module> from routersploit.core.exploit.exceptions import RoutersploitException File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/__init__.py", line 1, in <module> from routersploit.core.exploit.exploit import ( ...<4 lines>... ) File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/exploit.py", line 11, in <module> from routersploit.core.exploit.option import Option File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/option.py", line 5, in <module> from routersploit.core.exploit.utils import ( ...<2 lines>... ) File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/utils.py", line 10, in <module> import routersploit.resources.wordlists as wordlists File "/data/data/com.termux/files/home/routersploit/routersploit/resources/wordlists/__init__.py", line 1, in <module> import pkg_resources ModuleNotFoundError: No module named 'pkg_resources' According to what I found online, I have verified the following: * I have the setuptools pip package installed * I have build-essential and other build-related apt packages installed * My pip binaries are available in PATH Related issues: * https://GitHub.com/threat9/routersploit/issues/890 - no comment or context provided, not sure why was it closed? * https://GitHub.com/threat9/routersploit/issues/884 It seems like this commit attempted to fix the issue, but was never merged? https://GitHub.com/threat9/routersploit/commit/4c50eaec90f6c64e629ddd2e0f738b5754914a35

内容来源: threat9/routersploit