Reputation: 15642
In a quest to install pytube3 in Anaconda, searched for that package but couldn't find it
Then, went to Anaconda Prompt and ran
conda install pytube3
None of this worked...
Upvotes: 0
Views: 4349
Reputation: 11
If you'd like to install via Anaconda Prompt, try: conda install -c conda-forge pytube
. See this reference for more details.
Upvotes: 1
Reputation: 15642
The easiest is to open Spyder and run the following in your kernel
pip install pytube3
Then, Restart kernel and you'll be able to use it just fine.
Now, if you run
pip show pytube3
you'll see something like this
If then you try to download a file and get an error
File "C:\Users\tiago\Anaconda3\lib\site-packages\pytube\extract.py", line 301, in <listcomp>
parse_qs(formats[i]["cipher"]) for i, data in enumerate(formats)
KeyError: 'cipher'
then this answer will help you.
Upvotes: 2