ogkalu2 / comic-translate

Desktop app for automatically translating comics - BDs, Manga, Manhwa, Fumetti and more in a variety of formats (Image, Pdf, Epub, cbr, cbz, etc) and in multiple languages.
Apache License 2.0
528 stars 47 forks source link

Module not found and dont know what it means. #33

Closed KingDamo17 closed 3 months ago

KingDamo17 commented 3 months ago

Traceback (most recent call last): File "/comic-translate/comic.py", line 1, in import dearpygui.dearpygui as dpg ModuleNotFoundError: No module named 'dearpygui'

WavaDev commented 3 months ago

Have you done pip install -r requirements.txt?

KingDamo17 commented 3 months ago

Yes, I went ahead and installed dearpygui on its own and i got through that error but then next I ran into : Traceback (most recent call last): File "/Users/damosmacbook/comic-translate/comic.py", line 3, in <module> from modules.utils.download import get_models, mandatory_models File "/Users/damosmacbook/comic-translate/modules/utils/__init__.py", line 1, in <module> from .textblock import * File "/Users/damosmacbook/comic-translate/modules/utils/textblock.py", line 3, in <module> import cv2 ModuleNotFoundError: No module named 'cv2' I thought all of these modules where in repo but maybe Im reading them wrong

WavaDev commented 3 months ago

If you have problems doing pip install -r requirements.txt, then download python version 3.10.10: https://www.python.org/downloads/release/python-31010/

KingDamo17 commented 3 months ago

I ended up getting it to load the program after replacing PyMuPDF==1.23.8 in the requirements.txt. I appreciate the help