konverner / subtitles-generator

a script for multilingual subtitles generation
Apache License 2.0
25 stars 4 forks source link

Error No module named subtitles_generator #5

Closed msdl2022 closed 8 months ago

msdl2022 commented 8 months ago

C:\Users\mayco\Downloads\subtitles-generator-main>python main.py large portuguese .\videoyt.mp4 Traceback (most recent call last): File "C:\Users\mayco\Downloads\subtitles-generator-main\main.py", line 13, in from subtitles_generator.core import Model ModuleNotFoundError: No module named 'subtitles_generator'

issue2024-03-30 090157

konverner commented 8 months ago

Hi

Currently, I do not distribute this package via pip. You are supposed to write pip install . from the main directory. It is noted here:

https://github.com/konverner/subtitles-generator/blob/main/notebooks/subtitles_generator.ipynb

So, just replace your pip install subtitles_generator with pip install . .

I will add this remark to README. Thanks.