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

ModuleNotFoundError: No module named 'hyphenator' #38

Open
ShaunFell opened this issue Feb 16, 2024 · 7 comments
Open

ModuleNotFoundError: No module named 'hyphenator' #38

ShaunFell opened this issue Feb 16, 2024 · 7 comments

Comments

@ShaunFell
Copy link

I ran install as detailed in the ReadMe. But when I run the script, I get the error

ModuleNotFoundError: No module named 'hyphenator'

If I run pip install hyphenator, then rerun the script I get the error

FileNotFoundError: [Errno 2] No such file or directory: 'en_US'
@TareHimself
Copy link
Owner

Are you getting this error on the latest tag ?

@ShaunFell
Copy link
Author

I downloaded the latest release again and ran main.py with same result.

Traceback (most recent call last):
File "/home//Documents/Computer/Software/manga-translator/manga-translator-2024.01.31/main.py", line 8, in
from translator.pipelines import FullConversion
File "/home//Documents/Computer/Software/manga-translator/manga-translator-2024.01.31/translator/pipelines.py", line 6, in
from translator.utils import (
File "/home//Documents/Computer/Software/manga-translator/manga-translator-2024.01.31/translator/utils.py", line 20, in
from hyphen import Hyphenator
ImportError: cannot import name 'Hyphenator' from 'hyphen' (/home//.local/lib/python3.12/site-packages/hyphen/init.py)

@TareHimself
Copy link
Owner

After running poetry install ?

@ShaunFell
Copy link
Author

Hi, sorry for the late response. Yes, I cloned the repo again, started a new conda enviro and did peotry install, exactly as in the readme, but the same result

@TareHimself TareHimself reopened this Mar 29, 2024
@TareHimself
Copy link
Owner

Can I see the install output ?

@ShaunFell
Copy link
Author

ShaunFell commented Mar 29, 2024

out.txt

heres the output of
poetry install -vvv

this is in the conda enviro manga-translator

@JohnKirk1337
Copy link

JohnKirk1337 commented Jul 15, 2024

Same for me, but it fails at PySimpleGUI
image
By running python -m pip install PySimpleGUI, it doesn't err when running poe run-server. Instead, it opens the registration box. Then... nothing. Nothing shows up

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

3 participants