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

Suggestions #26

Closed
dariomlopez opened this issue Dec 20, 2023 · 1 comment
Closed

Suggestions #26

dariomlopez opened this issue Dec 20, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@dariomlopez
Copy link

When I try to do pip install -r requirements.txt I have this error and I can't put Egyscan to work:
Defaulting to user installation because normal site-packages is not writeable
DEPRECATION: Loading egg at /usr/local/lib/python3.11/dist-packages/holehe-1.61-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at pypa/pip#12330
DEPRECATION: Loading egg at /usr/local/lib/python3.11/dist-packages/zoomeye-2.2.0-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at pypa/pip#12330
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 "/home/dario/.local/lib/python3.11/site-packages/setuptools/init.py", line 7, in
import _distutils_hack.override # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dario/.local/lib/python3.11/site-packages/_distutils_hack/override.py", line 1, in
import('_distutils_hack').do_override()
File "/home/dario/.local/lib/python3.11/site-packages/_distutils_hack/init.py", line 77, in do_override
ensure_local_distutils()
File "/home/dario/.local/lib/python3.11/site-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 "/home/dario/.local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 22, in
from .dist import Distribution
File "/home/dario/.local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 12, in
import logging
File "/tmp/pip-install-ewo9t077/logging_e96f27c6c6144857bc0530dd7c0c1174/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

@dariomlopez dariomlopez added the enhancement New feature or request label Dec 20, 2023
@dragonked2
Copy link
Owner

download logging library manually via pypip website
and install it via
python setup.py install
after extracting the zip file content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants