-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
FIX: Troubleshooting for M1 MacOs users #16
Comments
Thanks! I linked this issue in readme. |
I only did |
If it installed successfully and it works then you're fine. Maybe |
I can read my manga now thank you. 2 hours later lol |
tar: Error opening archive: Failed to open 'mecab-python3-1.0.5.tar.gz' EDIT: brew install mecab instead of tar xfv mecab-python3-1.0.5.tar.gz fixed it, and installing manga-ocr right after |
I own two MacBooks and I was able to install
manga-ocr
without any problems on the Intel One. However, in the Mac that has a M1 (ARM) processor, I was getting an error when runningpip3 install manga-ocr
. Reading the error message, I noticed that there was a dependency that was having problems with the ARM architecture, it wasmecab-python3
.I searched for some issues on mecab's repository and it seems that several users with the same setup, a M1 Mac, were facing a similar issue. This happens because
mecab-python3
doesn't have a wheel for ARM architectures, so users with a M1 processor must build that pip package by themselves. This sounds hard, but in practice is sooooo easy:After this, you can run
pip3 list
to verify that mecab package is installed in your system.Now, if you run
pip3 install manga-ocr
again, it will be installed as expected.Hopefully you can add this workaround in the README, so any user that encounter this can fix it.
P.S. All of this was done using python 3.9.13 installed and managed by
pyenv
Regards!!!!
The text was updated successfully, but these errors were encountered: