NoUnique/pymecab-ko

Python 3.12

28140 opened this issue · 1 comments

28140 commented

Please add support for Python 3.12, if you can, please...

% pip install mecab-python3
Collecting mecab-python3
  Downloading mecab-python3-1.0.8.tar.gz (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 1.1 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: mecab-python3
  Building wheel for mecab-python3 (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for mecab-python3 (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [11 lines of output]
      WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-14-x86_64-cpython-312
      creating build/lib.macosx-14-x86_64-cpython-312/MeCab
      copying src/MeCab/__init__.py -> build/lib.macosx-14-x86_64-cpython-312/MeCab
      copying src/MeCab/cli.py -> build/lib.macosx-14-x86_64-cpython-312/MeCab
      running build_ext
      error: [Errno 2] No such file or directory: 'mecab-config'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for mecab-python3
Failed to build mecab-python3
ERROR: Could not build wheels for mecab-python3, which is required to install pyproject.toml-based projects

Thank you!

28140 commented

Wrong place to post, I guess..., sorry!