ModuleNotFoundError: No module named 'pkg_resources' (Python 3.11)
jacebrowning opened this issue · 2 comments
jacebrowning commented
Starting in Python 3.8, importlib
is recommended over pkg_resources
: https://docs.python.org/3/library/importlib.metadata.html?highlight=pkg_resources
pkg_resources
is no longer included in some distributions of Python 3.10+ including CircleCI Python images.
ppena-LiveData commented
And from looking at this setuptools commit, pkg_resources
has been deprecated since setuptools
v67.5.0
, so for those of us who run pytest
with filterwarnings = ["error"]
, that deprecation warning breaks the pytest
.
victorpaleologue commented
Fixed in #241