-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
installation fails at mecab-python3==1.0.3 #3976
Comments
Is this exclusive to python 3.10? Does python 3.8 or 3.9 work for you? |
I did not try on 3.9 yet. I tried building from source:
Then when actually installing using reinstall.sh script, again got the same error. |
Okay, I could not reproduce this on Python 3.8.12 (inside the pytorch 22.03 container). |
May I know where is the dependency mecab-python3==1.0.3 coming from? I don't see in any of the requirements.txt files. If I can change it to 1.0.5, it will go through as 1.0.3 is not compatible with python 3.10. |
I installed Python 3.8, created venv and the installation worked fine. |
This shouldn't be closed. The error appears on Python 3.10. |
I have the same issue with Python 3.10 |
also in python 3.9 |
|
Binary wheels are available for MacOS X, Linux, and Windows (64bit) are installed by default when you use pip: pip install mecab-python3 pip install unidic-lite pip install --no-binary :all: mecab-python3 |
Describe the bug
Running pip install nemo_toolkit['all'] fails at installing mecab-python3==1.0.3 for python version 3.10.
As per mecab documentation 1.0.5 is python 3.10 compatible
Steps/Code to reproduce bug
On a system with python 3.10 installed do:
python3 -m venv venv
source ven/bin/activate
pip install Cython
pip install nemo_toolkit['all']
Expected behavior
It should install fine
Environment overview (please complete the following information)
Environment details
Additional context
Collecting mecab-python3==1.0.3
Using cached mecab-python3-1.0.3.tar.gz (77 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [44 lines 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.
The text was updated successfully, but these errors were encountered: