Back
When I try to utilize Pytube module, it actually shows this error:
from pytube import YouTubeImportError: cannot import name 'YouTube'
from pytube import YouTube
ImportError: cannot import name 'YouTube'
I figure you didn't installed PyTube.
To check for that you need to type :
pip list | grep PyTube
In the event that you discovered return as
PyTube (0.1)
So you introduce PyTube if not you ought to introduce Pytube utilizing
sudo pip install PyTube
Else, You can try:
git clone https://github.com/nficano/pytube.git && cd pytubesetup.py buildsudo setup.py install
git clone https://github.com/nficano/pytube.git && cd pytube
setup.py build
sudo setup.py install
Are you interested to learn the concepts of Python? Join the python training course fast!
31k questions
32.8k answers
501 comments
693 users