Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning: pkg_resources is deprecated as an API #413

Open
Yelinz opened this issue Jun 19, 2024 · 0 comments
Open

DeprecationWarning: pkg_resources is deprecated as an API #413

Yelinz opened this issue Jun 19, 2024 · 0 comments

Comments

@Yelinz
Copy link

Yelinz commented Jun 19, 2024

With python 3.10 tika-python generates DeprecationWarning

..../lib/python3.10/site-packages/tika/__init__.py:20
..../lib/python3.10/site-packages/tika/__init__.py:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    __import__('pkg_resources').declare_namespace(__name__)

..../lib/python3.10/site-packages/tika/__init__.py:20
..../lib/python3.10/site-packages/tika/__init__.py:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('tika')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    __import__('pkg_resources').declare_namespace(__name__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant