twitch-dl icon indicating copy to clipboard operation
twitch-dl copied to clipboard

When calling twitch-dl in a python script(via os.popen) gives File Not Found Error

Open vidur2 opened this issue 3 years ago • 2 comments

FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/zb/qx2bfsd937s9vvtw5nmn3gnc0000gn/T/twitch-dl/2d77187406850464738d_philza_39737985867_1627664343/480p30/00001.ts.tmp' -> '/var/folders/zb/qx2bfsd937s9vvtw5nmn3gnc0000gn/T/twitch-dl/2d77187406850464738d_philza_39737985867_1627664343/480p30/00001.ts'

vidur2 avatar Jul 31 '21 00:07 vidur2

I apologize for the informality of the phrasing of this issue, it is just my first time doing this.

vidur2 avatar Jul 31 '21 00:07 vidur2

I had the same issue and I finally figured it out. ffmpeg.exe needs to be in the same directory as your python script, that's the missing file that this error is referencing. Once I copied over ffmpeg.exe everything worked.

marcellavdm avatar Mar 06 '22 05:03 marcellavdm