yihong0618 / bilingual_book_maker

Make bilingual epub books Using AI translate
MIT License
6.91k stars 1k forks source link

`langdetect` is missing from the dependency #376

Closed imWildCat closed 5 months ago

imWildCat commented 5 months ago
Traceback (most recent call last):
  File "/Users/kitten/Downloads/temp/venv/bin/bbook_maker", line 5, in <module>
    from book_maker.cli import main
  File "/Users/kitten/Downloads/temp/venv/lib/python3.11/site-packages/book_maker/cli.py", line 7, in <module>
    from book_maker.translator import MODEL_DICT
  File "/Users/kitten/Downloads/temp/venv/lib/python3.11/site-packages/book_maker/translator/__init__.py", line 4, in <module>
    from book_maker.translator.deepl_free_translator import DeepLFree
  File "/Users/kitten/Downloads/temp/venv/lib/python3.11/site-packages/book_maker/translator/deepl_free_translator.py", line 9, in <module>
    from PyDeepLX import PyDeepLX
  File "/Users/kitten/Downloads/temp/venv/lib/python3.11/site-packages/PyDeepLX/PyDeepLX.py", line 15, in <module>
    from langdetect import detect
ModuleNotFoundError: No module named 'langdetect'
yihong0618 commented 5 months ago

thanks will drop PyDeepL today

yihong0618 commented 5 months ago

fixed

imWildCat commented 5 months ago

thank you!