[CentOS] youtube-dl No module named 'pkg_resources'

Wed May 8 10:01:11 UTC 2019
Nux! <nux at li.nux.ro>

How did you install it?

I'm using their binary and it works great, just tested it. 

https://ytdl-org.github.io/youtube-dl/download.html

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Michael Hennebry" <hennebry at web.cs.ndsu.nodak.edu>
> To: "CentOS mailing list" <centos at centos.org>
> Sent: Wednesday, 8 May, 2019 03:55:12
> Subject: [CentOS] youtube-dl No module named 'pkg_resources'

> youtube-dl doesn't work for me after a recent update.
> I do not use it often, so do not know whether the update matters.
> It gives the error message:
> Traceback (most recent call last):
>   File "/usr/bin/youtube-dl", line 6, in <module>
>     from pkg_resources import load_entry_point
> ModuleNotFoundError: No module named 'pkg_resources'
> 
> I've tried reinstalling python-setuptools,
> installing python34-setuptools and reinstalling youtube-dl .
> 
> I'm aware there is a bugzilla on it.
> That and stackoverflow are where I got the ideas above.
> 
> How do I make youtube-dl work on Centos 7?
> 
> --
> Michael   hennebry at web.cs.ndsu.NoDak.edu
> "Sorry but your password must contain an uppercase letter, a number,
> a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
>                                                              --  someeecards
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos