我的问题类似于以下问题,但它没有完全解决我所面临的问题:我怎样才能更新youtube-dl?
我第一次尝试这个:
sudo youtube-dl -U它提供了输出:
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.如答案所述,我曾尝试使用pip进行升级:
sudo pip install --upgrade youtube-dl这似乎对很多人都有用。但对我来说,这是一个错误:
Installing collected packages: youtube-dl
Found existing installation: youtube-dl 2016.2.22
Cannot uninstall 'youtube-dl'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.请指导我如何解决这个问题,并正确升级youtube-dl。
注:这可能是应该在上述问题的评论部分提出,但不幸的是,我不能评论那里,所以我不得不张贴作为一个新的问题。
https://askubuntu.com/questions/1049381
复制相似问题