loading...

re: How to Download YouTube videos in Python. VIEW POST

TOP OF THREAD FULL DISCUSSION
re: i getting this error: AttributeError: partially initialized module 'pytube' has no attribute 'YouTube' (most likely due to a circular import) My ...
 

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 :)

 
code of conduct - report abuse