Permission denied: '/usr/local/lib/python3.4/dist-packages/zeroconf.py'

994 views
Skip to first unread message

John Callanan

unread,
Feb 8, 2015, 3:34:56 PM2/8/15
to home-assi...@googlegroups.com
Running into this in my initial attempt to install. Any ideas on what I might have incorrect?



Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "/usr/lib/python3/dist-packages/pip/req.py", line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/pip/req.py", line 671, in install
    self.move_wheel_files(self.source_dir, root=root)
  File "/usr/lib/python3/dist-packages/pip/req.py", line 901, in move_wheel_files
    pycompile=self.pycompile,
  File "/usr/lib/python3/dist-packages/pip/wheel.py", line 214, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/usr/lib/python3/dist-packages/pip/wheel.py", line 208, in clobber
    shutil.copy2(srcfile, destfile)
  File "/usr/lib/python3.4/shutil.py", line 244, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.4/shutil.py", line 108, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.4/dist-packages/zeroconf.py'

Storing debug log for failure in /tmp/tmpfq6vm7xd

Paulus Schoutsen

unread,
Feb 8, 2015, 4:04:16 PM2/8/15
to home-assi...@googlegroups.com

Looks like a permission error, try adding 'sudo' in front of pip install command.

Paulus


--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/c77cbbb6-66a4-471b-935c-4e76b0a316e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Callanan

unread,
Feb 8, 2015, 4:21:30 PM2/8/15
to home-assi...@googlegroups.com
Thanks - looked like my installation of zeroconf went only into my 2.7 Python installation and not into 3.4 - but anyway, got it works out. Thanks!
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-dev+unsub...@googlegroups.com.

Paulus Schoutsen

unread,
Feb 8, 2015, 4:23:32 PM2/8/15
to home-assi...@googlegroups.com
If you installed it for python 2.7 then you probably typed python instead of python3 (or pip3 instead of pip3) on the command line.

Anyway, glad it worked. I'll add the fix to the troubleshooting page.

Paulus

To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.

To post to this group, send email to home-assi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages