You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since python 3.12, pkg_resources has been moved to setuptools. Also, it is deprecated.
- Kozea/Radicale#1184
- mu-editor/mu#2485
- python/cpython#95299
$ python -m ttfautohint --help
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/ttfautohint/_version.py", line 2, in <module>
from pkg_resources import get_distribution, DistributionNotFound
ModuleNotFoundError: No module named 'pkg_resources'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 148, in _get_module_details
File "<frozen runpy>", line 112, in _get_module_details
File "/usr/lib/python3.12/site-packages/ttfautohint/__init__.py", line 12, in <module>
from ttfautohint._version import __version__
File "/usr/lib/python3.12/site-packages/ttfautohint/_version.py", line 4, in <module>
except (ImportError, DistributionNotFound):
^^^^^^^^^^^^^^^^^^^^
NameError: name 'DistributionNotFound' is not defined
Signed-off-by: Shohei Maruyama <[email protected]>
0 commit comments