Michael Hennebry
2019-May-08 02:55 UTC
[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
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
Michael Hennebry
2019-May-08 14:08 UTC
[CentOS] youtube-dl No module named 'pkg_resources'
On Wed, 8 May 2019, Nux! wrote:> How did you install it?Most recently yum reinstall youtube-dl> I'm using their binary and it works great, just tested it. > > https://ytdl-org.github.io/youtube-dl/download.html> ----- 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
On Tue, May 7, 2019 at 7:55 PM Michael Hennebry <hennebry at web.cs.ndsu.nodak.edu> wrote:> > 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?If you are using the EPEL one, you can resolve it by installing: (1) python36-setuptools from epel and (2) youtube-dl from epel-testing Akemi
Apparently Analagous Threads
- youtube-dl No module named 'pkg_resources'
- youtube-dl No module named 'pkg_resources'
- certbot stopped working on CentOS 7: pyOpenSSL module missing required functionality
- certbot stopped working on CentOS 7: pyOpenSSL module missing required functionality
- [PATCH] Provides the new node lifecycle events.