Project

General

Profile

Bug #838

Youtube-dl dependency error

hellekin - over 4 years ago - . Updated over 4 years ago.

Status:
fixed
Priority:
bug
Assignee:
-
% Done:

0%


Description

Calling youtube-dl now fails with:

Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named 'pkg_resources'

History

#1

Updated by mtjm over 4 years ago

Is your setuptools installed for the same Python version? (E.g. for 3.4 or 3.5 or 2.7.)

#2

Updated by hellekin over 4 years ago

mtjm wrote:

Is your setuptools installed for the same Python version? (E.g. for 3.4 or 3.5 or 2.7.)

If I run python --version I get the following error:

python: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory

It seems that ldconfig is wired for python3.5 but some programs are looking for 3.4 instead.

#3

Updated by hellekin over 4 years ago

hellekin wrote:

mtjm wrote:

Is your setuptools installed for the same Python version? (E.g. for 3.4 or 3.5 or 2.7.)

If I run python --version I get the following error:
[...]

It seems that ldconfig is wired for python3.5 but some programs are looking for 3.4 instead.

Duh, I found out the culprit: hardwired python compiled from last September, probably when I needed this version but it wasn't yet available or something weird like this. Removed the extra python, all is well.

#4

Updated by hellekin over 4 years ago

BOGUS ISSUE (but can't close it)

#5

Updated by hellekin over 4 years ago

Had to resintall both python-setuptools and python-packaging after I removed my extra python binaries. NOW FIXED.

#6

Updated by ovruni over 4 years ago

  • Status changed from open to fixed

Also available in: Atom PDF