PYTUBE module error
15,203
Solution 1
I think you did not install PyTube.
to check for that you can type that :
pip list | grep PyTube
If you found return as
PyTube (0.1)
So you install PyTube if not you should install Pytube using
sudo pip install PyTube
or you can use
git clone https://github.com/nficano/pytube.git && cd pytube
setup.py build
sudo setup.py install
I hope to help
Solution 2
pip uninstall pytube
and install pytube3 using
pip install pytube3
Author by
Abdilatif Musa
Updated on August 31, 2022Comments
-
Abdilatif Musa over 1 year
Every time I try to use the PYTUBE module it shows this error.
from pytube import YouTube ImportError: cannot import name 'YouTube'
-
Yunnosch almost 4 yearsPlease explain the relevant difference between your answer and the older one by Amit Prafulla. Highlight the additional insight you provide.
-
Lokendra Kumar Ved over 3 yearshe is asking to reinstall it mean pytube and i am saying use different version that is pytube3