Python Forum

Full Version: Videogrep .VTT problem win Windows 10
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
https://github.com/antiboredom/videogrep
I am using Win10, python 3.70, everything installed fine, but I got this, problem.
already .srt or .vtt subtitle on folder and subtitle is showing on vlc player.
G:\Python37\Lib\site-packages\videogrep>videogrep --input "G:\9GAG\bikini" --sea
rch 'auditions'
Traceback (most recent call last):
File "G:\Python37\Lib\site-packages\videogrep\videogrep.py", line 14, in
from .vtt import parse_auto_sub
ModuleNotFoundError: No module named 'main.vtt'; 'main' is not a package

G:\Python3.7\Lib\site-packages\videogrep>

Totally clueless! any help. thanks.
post code that contains the problem here using BBCODE Python tags tags
post error traceback, verbatim within BBCODE error tags

If I understand your problem:
from .vtt import parse_auto_sub
is the offending code.
Remove the . before .vtt