Have you download the module? With this command - > pip install pytube
That was the first thing I did.
Try to install pytube3 (sometimes is need it)
Still Nothing;
youtube = pytube.YouTube(url) AttributeError: partially initialized module 'pytube' has no attribute 'YouTube' (most likely due to a circular import)
I got this error: ImportError: cannot import name 'quote' from 'pytube.compat'. Then I installed pytube3 - now it works. Thank you a lot :)
Hi, verify that the name of your script is not "pytube.py"
That was the first thing I did
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Have you download the module?
With this command - > pip install pytube
That was the first thing I did.
Try to install pytube3 (sometimes is need it)
Still Nothing;
youtube = pytube.YouTube(url)
AttributeError: partially initialized module 'pytube' has no attribute 'YouTube' (most likely due to a circular import)
I got this error: ImportError: cannot import name 'quote' from 'pytube.compat'. Then I installed pytube3 - now it works. Thank you a lot :)
Hi,
verify that the name of your script is not "pytube.py"
That was the first thing I did