maurosoria / dirsearch

Web path scanner
11.57k stars 2.29k forks source link

Requirements. txt is missing the pkg_resources module #1377

Open Crany-web opened 1 month ago

Crany-web commented 1 month ago
  1. Download the latest release compressed package
  2. Unzip the compressed package
  3. Enter the decompressed path and execute python -m venv ./venv
  4. Activate the virtual environment source venv/bin/activate
  5. Execute pip install -r requirements.txt (the process goes smoothly without any problems)
  6. Execute python dirsearch.py and the terminal echoes ModuleNotFoundError: No module named 'pkg_resources'
  7. After understanding that you need to use pip install setuptools
  8. Execute python dirsearch.py again and find that it can run normally PS: I hope developers can add setuptools to requirements.txt
cloud-jie commented 1 month ago

感谢,已解决

ret2src commented 1 week ago

Workaround:

pipx inject dirsearch setuptools

This injects the missing module into the dirsearch environment.