Python Forum
Videogrep .VTT problem win Windows 10 - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Bar (https://python-forum.io/forum-27.html)
+--- Thread: Videogrep .VTT problem win Windows 10 (/thread-12255.html)



Videogrep .VTT problem win Windows 10 - MM2018 - Aug-16-2018

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.


RE: Videogrep .VTT problem win Windows 10 - Larz60+ - Aug-16-2018

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