twitch-dl
twitch-dl copied to clipboard
When calling twitch-dl in a python script(via os.popen) gives File Not Found Error
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'
I apologize for the informality of the phrasing of this issue, it is just my first time doing this.
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.