When i'm trying to install "Logging" with pip install, it gives this error:
> Defaulting to user installation because normal site-packages is not
> writeable Looking in links: /usr/share/pip-wheels Collecting logging
> Using cached logging-0.4.9.6.tar.gz (96 kB) Preparing metadata
> (setup.py) ... error error: subprocess-exited-with-error
>
> × python setup.py egg_info did not run successfully. │ exit code: 1
> ╰─> [19 lines of output] Traceback (most recent call last): File
> "<string>", line 2, in <module> File "<pip-setuptools-caller>", line
> 14, in <module> File
> "/usr/local/lib/python3.10/site-packages/setuptools/init .py", line
> 16, in <module> import setuptools.version File
> "/usr/local/lib/python3.10/site-packages/setuptools/version.py", line
> 1, in <module> import pkg_resources File
> "/usr/local/lib/python3.10/site-packages/pkg_resources/init .py", line
> 77, in <module> import ('pkg_resources.extern.packaging.specifiers')
> File
> "/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/specifiers.py",
> line 24, in <module> from .utils import canonicalize_version File
> "/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/utils.py",
> line 8, in <module> from .tags import Tag, parse_tag File
> "/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/tags.py",
> line 5, in <module> import logging File
> "/tmp/pip-install-4ua4y8_y/logging_037b1e824403421fbd794fa796d87c05/logging/init
> .py", line 618 raise NotImplementedError, 'emit must be implemented '
> ^ SyntaxError: invalid syntax [end of output]
>
> note: This error originates from a subprocess, and is likely not a
> problem with pip. error: metadata-generation-failed × Encountered
> error while generating package metadata. ╰─> See above for output.
> note: This is an issue with the package mentioned above, not pip.
> hint: See above for details.
Please help me to fix this