DonPAPI
DonPAPI copied to clipboard
ModuleNotFoundError: No module named 'pkg_resources'
❯ DonPAPI
Traceback (most recent call last):
File "/home/user/.local/bin/DonPAPI", line 5, in <module>
from donpapi.entry import main
File "/home/user/.local/pipx/venvs/donpapi/lib/python3.12/site-packages/donpapi/entry.py", line 29, in <module>
from donpapi.myseatbelt import MySeatBelt
File "/home/user/.local/pipx/venvs/donpapi/lib/python3.12/site-packages/donpapi/myseatbelt.py", line 21, in <module>
from donpapi.lib.adconnect import *
File "/home/user/.local/pipx/venvs/donpapi/lib/python3.12/site-packages/donpapi/lib/adconnect.py", line 8, in <module>
from impacket import version
File "/home/user/.local/pipx/venvs/donpapi/lib/python3.12/site-packages/impacket/version.py", line 10, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Installed with pipx (default and git). Hotfix:
pipx inject donpapi setuptools
setuptools should be added as dependency in pyproject.toml / poetry.lock