installation error #24
Replies: 1 comment
-
yeah its common issue with the system it cannot install logging library automaticlly you can download it here and install the setup.py file manually |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks alot for such great tool. however, whenever I tried to install it it provide below error
pip install -r requirements.txt
Collecting logging (from -r requirements.txt (line 2))
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
╰─> [24 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 14, in
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 7, in
import _distutils_hack.override # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/_distutils_hack/override.py", line 1, in
import('_distutils_hack').do_override()
File "/usr/lib/python3/dist-packages/_distutils_hack/init.py", line 77, in do_override
ensure_local_distutils()
File "/usr/lib/python3/dist-packages/_distutils_hack/init.py", line 63, in ensure_local_distutils
core = importlib.import_module('distutils.core')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 22, in
from .dist import Distribution
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 12, in
import logging
File "/tmp/pip-install-pdh6lbrt/logging_985378e2dbee4d3190785337253613d9/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.
Beta Was this translation helpful? Give feedback.
All reactions