In pahfit/features/features.py, pkg_resources is used. In a few cases (e.g. freshly created environment with Python venv and then pip install pahfit), I have run into an import error for this. The quick fix is always to pip install setuptools. For a smoother install experience, we should either
In pahfit/features/features.py,
pkg_resources
is used. In a few cases (e.g. freshly created environment with Python venv and then pip install pahfit), I have run into an import error for this. The quick fix is always topip install setuptools
. For a smoother install experience, we should eitherimportlib.resources
instead (https://docs.python.org/3/library/importlib.resources.html) (I'm not sure if pkg_resources is deprecated or not)