不确定这个回溯意味着什么

Not sure what this traceback means

所以我找到了这个项目

https://codereview.stackexchange.com/questions/192281/download-song-or-video-from-youtube-using-pytube

在线,它允许您从在线下载 youtube 视频,但是当我输入 link 并单击下载时,它给了我这个错误,我不知道它是什么意思,我试图搜索 google 的答案,但我找不到任何解决方案,所以我希望有人能帮助我。

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\bob\AppData\Local\Programs\Python\Python37\lib\tkinter\
__init__.py", line 1705, in __call__
    return self.func(*args)
  File "C:\Users\bob\Desktop\youtube.py", line 104, in checkYoutubeLink
    self.downloadWindow()
  File "C:\Users\bob\Desktop\youtube.py", line 112, in downloadWindow
    self.app = SecondPage(self.newWindow, self.youtubeEntryVar.get(), self.Folde
rName, self.ChoicesVar.get())
  File "C:\Users\bob\Desktop\youtube.py", line 134, in __init__
    self.yt = YouTube(self.youtubeEntry)
  File "C:\Users\bob\AppData\Local\Programs\Python\Python37\lib\site-pac
kages\pytube\__main__.py", line 88, in __init__
    self.prefetch_init()
  File "C:\Users\bob\AppData\Local\Programs\Python\Python37\lib\site-pac
kages\pytube\__main__.py", line 96, in prefetch_init
    self.prefetch()
  File "C:\Users\bob\AppData\Local\Programs\Python\Python37\lib\site-pac
kages\pytube\__main__.py", line 170, in prefetch
    age_restricted=self.age_restricted,
  File "C:\Users\bob\AppData\Local\Programs\Python\Python37\lib\site-pac
kages\pytube\extract.py", line 121, in video_info_url
    group=0,
  File "C:\Users\bob\AppData\Local\Programs\Python\Python37\lib\site-pac
kages\pytube\helpers.py", line 65, in regex_search
    .format(pattern=pattern),
pytube.exceptions.RegexMatchError: regex pattern (\W[\'"]?t[\'"]?: ?[\'"](.+?)[\
'"]) had zero matches

traceback 是 unreturned-from 调用的序列,直到实际错误发生的那一点为止。它不仅可以帮助您识别特定错误,还可以帮助您识别错误发生的上下文。

由于这个错误来自 pytube,我在 github 中快速搜索了他们的问题。这是问题的问题:

https://github.com/nficano/pytube/issues/381

它说它在 9.5.0 版本中已修复,pip install -U pytube 应该安装修复版本。