TareHimself / manga-translator

A manga translator built with python
GNU General Public License v3.0
77 stars 13 forks source link

ModuleNotFoundError: No module named 'hyphenator' #38

Open ShaunFell opened 7 months ago

ShaunFell commented 7 months ago

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 commented 7 months ago

Are you getting this error on the latest tag ?

ShaunFell commented 7 months ago

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 commented 7 months ago

After running poetry install ?

ShaunFell commented 6 months ago

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 commented 6 months ago

Can I see the install output ?

ShaunFell commented 6 months ago

out.txt

heres the output of poetry install -vvv

this is in the conda enviro manga-translator

JohnKirk1337 commented 2 months ago

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