Open bisoisk opened 7 years ago
Really, from 2017 none responsed here... I have that problem too
pip install pytube3
@atheistd, I have done pip install pytube3, I even listed all the packages that I have install for python and they pop up in the list, but when I still run it it gives me the error message "ModuleNotFoundError: No module named pytube" everyone keeps saying to just pip install pytube3 but its not working
I'm sorry dude, it worked for me and didn't break since then so can't help you right now. :/
No worries, its just kinda infuritating to see everyone just say install pytube3, I know it worked for you but something is up with my stuff. I even booted up my fresh Raspberry Pi 3 and used the terminal to install pytube3 and it still didnt work, it would still give me the module not found error.
I had this same problem, what I did was I went into the file path c:\users\YourName\appdata\local\programs\python\python39\scripts\pytube3.exe and I saw that it was there but only in my python3.9 folder. I looked back at my project and saw that the code i was getting the error on was python 3.8 so it didnt have the module in its path. I made a new python 3.9 file and it worked perfectly, hope this helps.
Getting the same problem from last 2 months
(1) Initially i installed your script using pip command but while running the command and i got below error like
C:\Users\DDD\AppData\Local\Programs\Python\Python35-32\Scripts>python ytPlaylistDL.py https://www.youtube.com/playlist?list=PLVJcUspOFG-Np-YotXlPviRUK_MKyvwId F:\KAMINA\YOUTUBE python: can't open file 'ytPlaylistDL.py': [Errno 2] No such file or directory
.So to overcome this error i created a python file with name as "ytPlaylistDL.py" and copied ur whole code from your git hub page.
(2) Then after that i was able to cross the first level but i got new error like below,.
Bellow is the command i am using
C:\Users\DDD\AppData\Local\Programs\Python\Python35-32\Scripts>python ytPlaylistDL.py https://www.youtube.com/playlist?list=PLVJcUspOFG-Np-YotXlPviRUK_MKyvwId F:\KAMINA\YOUTUBE
i got error like
C:\Users\DDD\AppData\Local\Programs\Python\Python35-32\Scripts>python ytPlaylistDL.py https://www.youtube.com/playlist?list=PLVJcUspOFG-Np-YotXlPviRUK_MKyvwId F:\KAMINA\YOUTUBE Traceback (most recent call last): File "ytPlaylistDL.py", line 11, in
from pytube import YouTube
ModuleNotFoundError: No module named 'pytube'
(3) Then tried to install the pytube module but it is showing already there in my package
I am getting below message while uisng the command "pip3 install pytube".
Requirement already satisfied (use --upgrade to upgrade): pytube in c:\users\DDD\appdata\local\programs\python\python35-32\lib\site-packages You are using pip version 8.1.1, however version 9.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.