[PYTHON] pytube execution and error

When I needed to download a Youtube video, I downloaded it using pytube. At that time, I got an unclear error, so make a note of it.

First of all, download pytube. (** Note that this needs to be uninstalled later. Please wait until the end before installing **)

pip install pytube

I typed in the command line and downloaded pytube. However, when I actually run it, pytube.PNG

Like the image above ImportError: cannot import name 'quote' from 'pytube.compat' Error has occurred.

When I looked it up,

https://github.com/nficano/pytube/issues/591

There was a similar question in the pytube issues here and a solution was offered. Enter the following on the command line:

pip uninstall pytube
pip install pytube3

Recommended Posts

pytube execution and error
Golang error and panic
Notify error and execution completion by LINE [Python]
Execution by subshell (and variable update)
Error classification (python3.x) and Debugging notes
PySpark 1.5.2 + Elasticsearch 2.1.0 Installation procedure and execution
Strange and horrifying Python error story
pix2 pix tensorflow2 Record of trial and error
About errors during PyInstaller installation and execution
Java compilation and execution understood by CLI
Django novice addicted error and solution notes