Python Forum
'videodigest' is not recognized as an internal or external command
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
'videodigest' is not recognized as an internal or external command
#1
https://github.com/agermanidis/videodigest
successfully installed, also added all path to environment variables, but i got this error:
C:\Python37\Scripts>videodigest
'videodigest' is not recognized as an internal or external command,
operable program or batch file.
kindly help me!
Reply
#2
It's not written for Windows and it will only work Python 2.
scripts=['videodigest'], this will make videodigest in Scripts folder that work for Linux,
on Windows can try to rename in Scripts folder to videodigest.py and run from command line(most be Python 2).
But i think there will be other problems like codec used codec="libx264",
Can use Zeranoe build for Windows and link it,but now into difficult stuff.

The easiest is to use VirtualBox with a Linux distro and run it with Python 2.
Reply
#3
yl@yl-VirtualBox:~$ videodigest -i /media/sf_I/xm/xm.mp4 -s /media/sf_I/xm/xm.srt -L English -o rip.mp4

Traceback (most recent call last):
  File "/home/yl/.local/bin/videodigest", line 108, in <module>
    language=args.language)
  File "/home/yl/.local/bin/videodigest", line 75, in find_summary_regions
    summary = summarize(srt_file, summarizer, n_sentences, language)
  File "/home/yl/.local/bin/videodigest", line 60, in summarize
    parser = PlaintextParser.from_string(srt_to_doc(srt_file), Tokenizer(language))
  File "/home/yl/.local/lib/python2.7/site-packages/sumy/nlp/tokenizers.py", line 67, in __init__
    self._sentence_tokenizer = self._get_sentence_tokenizer(tokenizer_language)
  File "/home/yl/.local/lib/python2.7/site-packages/sumy/nlp/tokenizers.py", line 82, in _get_sentence_tokenizer
    "NLTK tokenizers are missing. Download them by following command: "
LookupError: NLTK tokenizers are missing. Download them by following command: python -c "import nltk; nltk.download('punkt')"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  is import cointegration_analysis a recognized module mitcht33 1 384 Nov-06-2023, 09:29 PM
Last Post: deanhystad
  The term 'pip' is not recognized as the name of a cmdlet, function michaelnicol 1 597 Jul-16-2023, 11:12 PM
Last Post: deanhystad
  Index Function not recognized in Python 3 Peter_B_23 1 1,114 Jan-08-2023, 04:52 AM
Last Post: deanhystad
  web socket server handle onnection closed abnormally [internal]) korenron 0 2,109 Sep-23-2021, 09:26 AM
Last Post: korenron
  500 internal server error Nitil 1 2,845 May-01-2021, 06:16 PM
Last Post: snippsat
  Removing internal brackets from a string Astrikor 4 2,617 Jun-04-2020, 07:54 PM
Last Post: Astrikor
  TypeError: size; expecting a recognized type filling string dict a11_m11 0 2,486 Feb-10-2020, 08:26 AM
Last Post: a11_m11
  managing command codes for external controller box Oolongtea 0 1,893 Sep-19-2019, 08:32 AM
Last Post: Oolongtea
  matplotlib isn't recognized after installation Pavel_47 5 2,755 Sep-18-2019, 07:01 PM
Last Post: snippsat
  how do i get y to be recognized in this comprehension? Skaperen 5 3,068 Aug-26-2019, 07:43 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020