Search code examples
uninstallationyoutube-dl

youtube_dl has not uninstall


I want to remove youtube_dl from vscode and reinstall it. But it cannot be removed. (You can also import the youtube_dl module by typing the command below.)

I tried : # pip uninstall youtube_dl # brew uninstall youtub-dl

I can't remember how I installed youtube_dl before. How can I uninstall and reinstall? Or is there a way to upgrade?


Solution

  • Brew

    You can try

    $ brew reinstall youtube-dl
    

    Or

    $ brew uninstall youtube-dl
    $ brew autoremove
    $ brew cleanup
    $ brew install youtube-dl
    

    For upgrading use

    $ brew update
    $ brew upgrade youtube-dl
    

    Pip

    The install and uninstall commands for pip are

    $ pip uninstall youtube-dl
    $ pip install youtube-dl
    

    To upgrade with pip

    $ pip install youtube-dl --upgrade