Bug #838
Youtube-dl dependency error
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
Updated by mtjm over 8 years ago
Is your setuptools installed for the same Python version? (E.g. for 3.4 or 3.5 or 2.7.)
Updated by hellekin over 8 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.
Updated by hellekin over 8 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.
Updated by hellekin over 8 years ago
Had to resintall both python-setuptools
and python-packaging
after I removed my extra python binaries. NOW FIXED.