question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Youtube-dl seems to report wrong version

See original GitHub issue

I just wanted to report a bug (that youtube-dl reports “Unable to extract video data” on youtube), but when I tried to follow the bug report checklist, I noticed that pip reports another version of youtube-dl than youtube-dl itself:

sudo pip3 install youtube-dl 
Collecting youtube-dl
  Using cached youtube_dl-2020.12.14-py2.py3-none-any.whl (1.8 MB)
Installing collected packages: youtube-dl
Successfully installed youtube-dl-2020.12.14
youtube-dl -v --version
2020.06.16.1

What’s wrong here? If I have indeed the wrong version how could I fix it?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
london111commented, Dec 16, 2020

No, I don’t think so: Did the following to check it:

sudo pip3 uninstall youtube-dl
cd /
fdfind  youtube-dl

The last command results in no output.

sudo pip3 install youtube-dl 
Collecting youtube-dl
  Using cached youtube_dl-2020.12.14-py2.py3-none-any.whl (1.8 MB)
Installing collected packages: youtube-dl
Successfully installed youtube-dl-2020.12.14
fdfind youtube-dl
usr/local/bin/youtube-dl
usr/local/etc/bash_completion.d/youtube-dl.bash-completion
usr/local/share/man/man1/youtube-dl.1
usr/local/etc/fish/completions/youtube-dl.fish

which youtube-dl
/usr/local/bin/youtube-dl
youtube-dl --version
2020.06.16.1
/usr/local/bin/youtube-dl --version
2020.06.16.1
0reactions
london111commented, Dec 16, 2020

I am using ubuntu 20.04

Read more comments on GitHub >

github_iconTop Results From Across the Web

Youtube doesn't seem to work anymore. "Unable to download ...
Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.22. If it's not read this FAQ...
Read more >
youtube-dl doesn't report back the correct downloaded file
I'm using youtube-dl in a Python program as a module and not from the command line. It works just fine except for when...
Read more >
Can not update youtube-dl [duplicate] - Ask Ubuntu
Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose ...
Read more >
youtube-dl: ERROR: Unable to extract yt initial data
ERROR : Unable to extract yt initial data; please report this issue on ... Unfortunately, that youtube-dl version contains tons of fixes and...
Read more >
youtube-dl fails with 410 error <solved> - Linux Mint Forums
WARNING: unable to download video info webpage: HTTP Error 410: Gone Traceback (most recent call last): File "/usr/bin/youtube-dl", line 6, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found