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

aarch64 Linux cannot install sudachipy #290

Open
Moskize91 opened this issue Jan 2, 2025 · 0 comments
Open

aarch64 Linux cannot install sudachipy #290

Moskize91 opened this issue Jan 2, 2025 · 0 comments

Comments

@Moskize91
Copy link

I failed to install sudachipy using the python environment of Apple Hypervisor in macOS.

$ pip install sudachipy

The error is as follows:

Looking in indexes: https://pypi.org/simple/
Collecting sudachipy
  Using cached sudachipy-0.6.9.tar.gz (164 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: sudachipy
  Building wheel for sudachipy (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for sudachipy (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [34 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-aarch64-cpython-310/sudachipy
      copying py_src/sudachipy/command_line.py -> build/lib.linux-aarch64-cpython-310/sudachipy
      copying py_src/sudachipy/errors.py -> build/lib.linux-aarch64-cpython-310/sudachipy
      copying py_src/sudachipy/__init__.py -> build/lib.linux-aarch64-cpython-310/sudachipy
      copying py_src/sudachipy/config.py -> build/lib.linux-aarch64-cpython-310/sudachipy
      creating build/lib.linux-aarch64-cpython-310/sudachipy/dictionary
      copying py_src/sudachipy/dictionary/__init__.py -> build/lib.linux-aarch64-cpython-310/sudachipy/dictionary
      creating build/lib.linux-aarch64-cpython-310/sudachipy/tokenizer
      copying py_src/sudachipy/tokenizer/__init__.py -> build/lib.linux-aarch64-cpython-310/sudachipy/tokenizer
      creating build/lib.linux-aarch64-cpython-310/sudachipy/morphemelist
      copying py_src/sudachipy/morphemelist/__init__.py -> build/lib.linux-aarch64-cpython-310/sudachipy/morphemelist
      creating build/lib.linux-aarch64-cpython-310/sudachipy/morpheme
      copying py_src/sudachipy/morpheme/__init__.py -> build/lib.linux-aarch64-cpython-310/sudachipy/morpheme
      copying py_src/sudachipy/sudachipy.pyi -> build/lib.linux-aarch64-cpython-310/sudachipy
      creating build/lib.linux-aarch64-cpython-310/sudachipy/resources
      copying py_src/sudachipy/resources/sudachi.json -> build/lib.linux-aarch64-cpython-310/sudachipy/resources
      copying py_src/sudachipy/resources/rewrite.def -> build/lib.linux-aarch64-cpython-310/sudachipy/resources
      copying py_src/sudachipy/resources/char.def -> build/lib.linux-aarch64-cpython-310/sudachipy/resources
      copying py_src/sudachipy/resources/unk.def -> build/lib.linux-aarch64-cpython-310/sudachipy/resources
      running build_ext
      running build_rust
      error: failed to parse manifest at `/tmp/pip-install-6qt6gyh2/sudachipy_837613a66727439da690b7fd75d5273e/Cargo.toml`
      
      Caused by:
        error inheriting `edition` from workspace root manifest's `workspace.package.edition`
      
      Caused by:
        failed to find a workspace root
      error: `cargo metadata --manifest-path Cargo.toml --format-version 1` failed with code 101
      -- Output captured from stdout:
      
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for sudachipy
Failed to build sudachipy
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (sudachipy)

My system and CPU are as follows (via uname -a command):

Linux 8fc2450ce104 6.6.63-0-virt #1-Alpine SMP PREEMPT_DYNAMIC 2024-11-25 09:23:27 aarch64 aarch64 aarch64 GNU/Linux
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