微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

youtube-dl 和使用它的工具出错可能与aria2c有关吗?

如何解决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 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?