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

Error after installation #789

Open
Lynka7 opened this issue Oct 19, 2023 · 8 comments
Open

Error after installation #789

Lynka7 opened this issue Oct 19, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@Lynka7
Copy link

Lynka7 commented Oct 19, 2023

Collecting absl-py==0.9.0 (from ciphey)
Using cached absl-py-0.9.0.tar.gz (104 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-y88sbzvc/absl-py_822b230fed0f4e07a862a440274b4c3a/setup.py", line 34, in
raise RuntimeError('Python version 2.7 or 3.4+ is required.')
RuntimeError: Python version 2.7 or 3.4+ is required.
[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.

@Lynka7 Lynka7 added the bug Something isn't working label Oct 19, 2023
@ADI-TECH-API
Copy link

i have same issue :(

@francogrex
Copy link

That's because you are using python 3.10+. Use python 3.7, 3.8 and if you're lucky 3.9

@alfred-hong
Copy link

  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
   exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-bk5uj744/absl-py_977fda649ecc4a9099fbf71b380f98f3/setup.py", line 34, in <module>
          raise RuntimeError('Python version 2.7 or 3.4+ is required.')
      RuntimeError: Python version 2.7 or 3.4+ is required.
      [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.

the same

@ZishanAdThandar
Copy link

#786 Ciphey not installing with Python 3.11.5
#764 Ciphey is being deprecated

They are remaking it currently with rust on https://github.com/bee-san/Ares to resolve all issues.

@SyKaHo
Copy link

SyKaHo commented Nov 4, 2023

how i can slove this(mac os)
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/bin/ciphey", line 5, in
from ciphey.ciphey import main
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/ciphey/init.py", line 1, in
from . import basemods, common, iface
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/ciphey/basemods/init.py", line 1, in
from . import Checkers, Crackers, Decoders, Resources, Searchers
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/ciphey/basemods/Crackers/init.py", line 1, in
from . import (
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/ciphey/basemods/Crackers/affine.py", line 6, in
import cipheycore
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/cipheycore/init.py", line 13, in
from . import _ciphey_core_py
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/cipheycore/_ciphey_core_py.so, 0x0002): Library not loaded: /usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/Python
Referenced from: <5DF0F2B7-C780-33C3-A619-97D7F363AA91> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/cipheycore/_ciphey_core_py.so
Reason: tried: '/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/Python' (no such file), '/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/3.8/Python' (no such file, not in dyld cache)

@0x5869616F
Copy link

Same error, my python environment is 3.11:
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-85quaiwz/absl-py_bd08e1ef554348d6bcb1bb07f825e0b4/setup.py", line 34, in
raise RuntimeError('Python version 2.7 or 3.4+ is required.')
RuntimeError: Python version 2.7 or 3.4+ is required.
[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.

@2421715443
Copy link

2421715443 commented Mar 5, 2024

absl-py setup.py absl-py==0.9.0
this version setup.py file is

py_version = platform.python_version_tuple()
if py_version < ('2', '7') or py_version[0] == '3' and py_version < ('3', '4'):
  raise RuntimeError('Python version 2.7 or 3.4+ is required.')

platform.python_version_tuple() get a str tuple
@Ciphey please update this dependent version absl-py>=1.0.0

@HoveyChenB612
Copy link

me tooooooo :(

error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/Users/chen/VScodeProjects/Tooles/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Users/chen/VScodeProjects/Tooles/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/chen/VScodeProjects/Tooles/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/xm/65v1lvj912l988bmm_hk_wmc0000gn/T/pip-build-env-dtyiowqd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/private/var/folders/xm/65v1lvj912l988bmm_hk_wmc0000gn/T/pip-build-env-dtyiowqd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/xm/65v1lvj912l988bmm_hk_wmc0000gn/T/pip-build-env-dtyiowqd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/private/var/folders/xm/65v1lvj912l988bmm_hk_wmc0000gn/T/pip-build-env-dtyiowqd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 34, in <module>
      RuntimeError: Python version 2.7 or 3.4+ is required.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants