[Slackbuilds-users] youtube-dl PermissionError: [Errno 13] Permission denied: '/usr/lib64/python3.6/site-packages/evdev-1.0.0-py3.6.egg-info/PKG-INFO'
Donald Cooley
chytraeu at sdf.org
Tue Jul 31 00:32:59 UTC 2018
I wondered if someone here could help with the error PermissionError:
[Errno 13] Permission denied:
'/usr/lib64/python3.6/site-packages/evdev-1.0.0-py3.6.egg-info/PKG-INFO'.
I get the above error whenever I run youtube-dl.
I'm not a heavy user of the application so I am not sure how long I have
had this problem with my system.
BTW, I get a similar error if I uninstall python-3 and rebuild youtube-dl.
Here is output from the terminal:
youtube-dl
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 3088, in <module>
@_call_aside
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 3072, in _call_aside
f(*args, **kwargs)
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 3101, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 565, in _build_master
ws = cls()
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 558, in __init__
self.add_entry(entry)
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 614, in add_entry
for dist in find_distributions(entry, True):
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 1964, in find_on_path
for dist in factory(fullpath):
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 2034, in distributions_from_metadata
root, entry, metadata, precedence=DEVELOP_DIST,
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 2473, in from_location
py_version=py_version, platform=platform, **kw
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 2835, in _reload_version
md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 2437, in _version_from_file
line = next(iter(version_lines), '')
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 2627, in _get_metadata
for line in self.get_metadata_lines(name):
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 1408, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 1404, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py",
line 1516, in _get
with open(path, 'rb') as stream:
PermissionError: [Errno 13] Permission denied:
'/usr/lib64/python3.6/site-packages/evdev-1.0.0-py3.6.egg-info/PKG-INFO'
More information about the SlackBuilds-users
mailing list