ImportError: cannot import name Youtube
See original GitHub issueDid a pip install pytube, tried import Youtube with
from pytube import Youtube
uninstalled and did a
git clone https://github.com/nficano/pytube.git && cd pytube
setup.py build
sudo setup.py install
still cannot import Youtube
However I did a dir(pytube) and see ‘Youtube’ there I’m not sure why I cant import it
Issue Analytics
- State:
- Created 7 years ago
- Comments:22
Top Results From Across the Web
Python3.8 pytube ImportError: cannot import name 'YouTube ...
i get the error: ImportError: cannot import name 'YouTube' from 'pytube' (unknown location). ive used the following documentation to install ...
Read more >ImportError: cannot import name 'YouTube' from 'pytube' #564
Depends on the issue. It could mean those scripts don't exist anymore. It could mean your IDE doesn't know they exist.
Read more >How to Fix : “ImportError: Cannot import name X” in Python?
You can solve the “ ImportError : Cannot import name X” Error by resolving the circular dependencies. You can do that either by...
Read more >cannot import name 'file_hash' from 'pooch.utils' - YouTube
How to resolve ImportError : cannot import name 'file_hash' from 'pooch.utils'
Read more >ImportError: cannot import name (unknown location) - YouTube
ImportError : cannot import name 'blabla' from 'some_module' (unknown location)thanks for watchinglike this video, share, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same ImportError. The import statement
from pytube import YouTube
does not work. Can not resolve module.importError: cannot import name ‘YouTube’ from partially initialized module ‘pytube’ (most likely due to a circular import)
I am getting the same kind import error. anyone can help to resolve the same ?