-
Notifications
You must be signed in to change notification settings - Fork 12
recent update to setuptools results in missing pkg_resources when importing fastkml #51
Description
Following a fresh build of the uafinfra env and installation of array_processing today, importing array_processing would lead to the following error:
>>> import array_processing Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/jlyons/array_processing/array_processing/__init__.py", line 1, in <module> from . import algorithms File "/Users/jlyons/array_processing/array_processing/algorithms/__init__.py", line 2, in <module> from .srcLoc import srcLoc File "/Users/jlyons/array_processing/array_processing/algorithms/srcLoc.py", line 3, in <module> from ..tools.generic import tauCalcSWxy File "/Users/jlyons/array_processing/array_processing/tools/__init__.py", line 1, in <module> from .array_characterization import (arraySig, impulseResp, rthEllipse, File "/Users/jlyons/array_processing/array_processing/tools/array_characterization.py", line 4, in <module> from fastkml import kml File "/Users/jlyons/miniforge3/envs/uafinfra/lib/python3.10/site-packages/fastkml/__init__.py", line 28, in <module> from pkg_resources import DistributionNotFound ModuleNotFoundError: No module named 'pkg_resources'
I traced it to the current version of setuptools. A pip install "setuptools<82" fixed the problem.