Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (120 points)
Traceback (most recent call last):

  File "D:\coding\python\youtube.py", line 1, in <module>

    from pytube import YouTube

  File "C:\Users\heman\AppData\Local\Programs\Python\Python39\lib\site-packages\pytube\__init__.py", line 14, in <module>

    from pytube.captions import Caption

  File "C:\Users\heman\AppData\Local\Programs\Python\Python39\lib\site-packages\pytube\captions.py", line 5, in <module>

    import xml.etree.ElementTree as ElementTree

  File "C:\Users\heman\AppData\Local\Programs\Python\Python39\lib\xml\etree\ElementTree.py", line 2085, in <module>

    from _elementtree import *

  File "D:\coding\python\copy.py", line 13

    break

    ^

SyntaxError: 'break' outside loop

Please log in or register to answer this question.

Related questions

Browse Categories

...