Open jwhitlock opened 1 month ago
The error is because pkg_resources
is no longer installed by default in a virtualenv. Installing setuptools
fixes the issue, but can cause problems if you are not in a virtualenv. I've updated the issue to be more precise.
The issue would be fixed by no longer declaring a namespace, as suggested in the links in the DeprecationWarning
.
If you are running a virtualenv with Python 3.11 with warnings enabled, you get a deprecation warning. On macOS Sonoma 14.5, with
pyenv
:pkg_resources
is no longer installed in a virtualenv in Python 3.12, so you get an error:The fix is to install
setuptools
, then you just get all the warnings again: