Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
pip package wrong version - related to the token issue #20798
Comments
|
Most likely you have several instances of youtube-dl installed. |
|
@dstftw I think this could be the reason so many people report on the token issue, as upgrading using pip installs the wrong version. $ sudo find / -xdev -iname youtube-dl $ /usr/local/bin/youtube-dl --version $ sudo rm /usr/local/bin/youtube-dl $ sudo pip3 install youtube_dl -U --force --no-cache $ sudo find / -xdev -iname youtube-dl $ /usr/local/bin/youtube-dl --version |
|
$ which youtube-dl
/usr/local/bin/youtube-dl
$ sudo rm /usr/local/bin/youtube-dl
$ hash -r;which youtube-dl
youtube-dl not found
$ sudo pip3 install youtube_dl -U --force --no-cache
Collecting youtube_dl
Downloading https://files.pythonhosted.org/packages/41/4f/b9d6a4dff6cf176d593d494deade44db19654adc3188b7e2842f21a1f31b/youtube_dl-2019.4.24-py2.py3-none-any.whl (1.8MB)
|████████████████████████████████| 1.8MB 2.7MB/s
Installing collected packages: youtube-dl
Found existing installation: youtube-dl 2019.4.24
Uninstalling youtube-dl-2019.4.24:
Successfully uninstalled youtube-dl-2019.4.24
Successfully installed youtube-dl-2019.4.24
$ hash -r;which youtube-dl
/usr/local/bin/youtube-dl
$ youtube-dl --version
2019.01.23
Which in turn gives the token issue lots of users are reporting, could there be an issue in the pip package?
Expected the 2019.04.24 version.......