Error while installing youtube extension

Yesterday I started a project turnning an old pc of mine into a streaming pc. I should eventually work with local files, soundcloud and youtube. Right now to see if it works I wanted to install mopidy-youtube which ended in the following error. Google didn’t serve me well, sadly.

Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 283, in run requirement_set.install(install_options, global_options, root=options.root_path) File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1436, in install requirement.install(install_options, global_options, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/pip/req.py", line 672, in install self.move_wheel_files(self.source_dir, root=root) File "/usr/lib/python2.7/dist-packages/pip/req.py", line 902, in move_wheel_files pycompile=self.pycompile, File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 206, in move_wheel_files clobber(source, lib_dir, True) File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 193, in clobber os.makedirs(destsubdir) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/Mopidy_Youtube-2.0.2.dist-info'
Running Ubuntu 14.04 now, 32 bit, followed https://pypi.python.org/pypi/Mopidy-Youtube to install but found several guides asking me to do the same. Not sure what my problem is here…

Did you do sudo pip install ... ?

1 Like

I think we can assume that was your problem. Please, in future, don’t post the same question on here and on github. Just on here is sufficient, thanks.