如何解决youtube-dl 和使用它的工具出错可能与aria2c有关吗?
我被难住了。我到处谷歌搜索,没有找到任何东西。我还尝试安装 pyenv 并查看我是否做了一些事情来弄乱我的 python。尝试了不同版本的 python,它仍然给我这个错误......开始很好,然后:
[generic] master: Requesting header
WARNING: Falling back on generic information extractor.
[generic] master: Downloading webpage
[generic] master: Extracting information
[dashsegments] Total fragments: 127
[download] Destination: temp/video_encrypted.mp4
ERROR: unable to download video data: [Errno 2] No such file or directory: '/mnt/mpathl/tee ge/wow2160/binaries/youtube_dl/downloader/../../binaries/aria2c'
Traceback (most recent call last):
File "/mnt/mpathl/teege/wow2160/binaries/youtube_dl/YoutubedL.py",line 1915,in process_ info
success = dl(filename,info_dict)
File "/mnt/mpathl/teege/wow2160/binaries/youtube_dl/YoutubedL.py",line 1854,in dl
return fd.download(name,info)
File "/mnt/mpathl/teege/wow2160/binaries/youtube_dl/downloader/common.py",line 366,in d ownload
return self.real_download(filename,info_dict)
File "/mnt/mpathl/teege/wow2160/binaries/youtube_dl/downloader/dash.py",line 76,in real _download
aria_out = subprocess.run(cmd)
File "/home/teege/.pyenv/versions/3.6.0/lib/python3.6/subprocess.py",line 403,in run
with Popen(*popenargs,**kwargs) as process:
File "/home/teege/.pyenv/versions/3.6.0/lib/python3.6/subprocess.py",line 707,in __init __
restore_signals,start_new_session)
File "/home/teege/.pyenv/versions/3.6.0/lib/python3.6/subprocess.py",line 1326,in _exec ute_child
raise child_exception_type(errno_num,err_msg)
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/mpathl/teege/wow2160/binaries /youtube_dl/downloader/../../binaries/aria2c'
During handling of the above exception,another exception occurred:
Traceback (most recent call last):
File "wow.py",line 368,in <module>
download_stream(config['manifest_url'],tracks['video']['id'],video_encrypted)
File "wow.py",line 198,in download_stream
if not ydl.download([manifest]) == 0:
File "/mnt/mpathl/teege/wow2160/binaries/youtube_dl/YoutubedL.py",line 2008,in download
url,force_generic_extractor=self.params.get('force_generic_extractor',False))
File "/mnt/mpathl/teege/wow2160/binaries/youtube_dl/YoutubedL.py",line 807,in extract_i nfo
return self.process_ie_result(ie_result,download,extra_info)
File "/mnt/mpathl/teege/wow2160/binaries/youtube_dl/YoutubedL.py",line 861,in process_i e_result
return self.process_video_result(ie_result,download=download)
File "/mnt/mpathl/teege/wow2160/binaries/youtube_dl/YoutubedL.py",line 1642,in process_ video_result
self.process_info(new_info)
File "/mnt/mpathl/teege/wow2160/binaries/youtube_dl/YoutubedL.py",line 1917,in process_ info
self.report_error('unable to download video data: %s' % error_to_compat_str(err))
File "/mnt/mpathl/teege/wow2160/binaries/youtube_dl/YoutubedL.py",line 624,in report_er ror
self.trouble(error_message,tb)
File "/mnt/mpathl/teege/wow2160/binaries/youtube_dl/YoutubedL.py",line 594,in trouble
raise DownloadError(message,exc_info)
binaries.youtube_dl.utils.DownloadError: ERROR: unable to download video data: [Errno 2] No such file or directory: '/mnt/mpathl/teege/wow2160/binaries/youtube_dl/downloader/../../bi naries/aria2c'
任何线索或帮助将不胜感激!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。