Install failure on OS X - python script errors


#1

This is posted for the benefit of the developers. Package downloaded to an iMac running OS X El Capitan. See “Exception” below. I am not a python guy.

tgstone-iMac:letsencrypt tgstone$ ./letsencrypt-auto --help --debug
100% |████████████████████████████████| 71kB 6.8MB/s
.
.
.
.
Installing collected packages: pip, wheel
Exception:
Traceback (most recent call last):
File “/var/folders/g_/ddy0wyhj5nldvtghmjp4vrk40000gn/T/tmpYUVYv8/pip.zip/pip/basecommand.py”, line 209, in main
status = self.run(options, args)
File “/var/folders/g_/ddy0wyhj5nldvtghmjp4vrk40000gn/T/tmpYUVYv8/pip.zip/pip/commands/install.py”, line 317, in run
prefix=options.prefix_path,
File “/var/folders/g_/ddy0wyhj5nldvtghmjp4vrk40000gn/T/tmpYUVYv8/pip.zip/pip/req/req_set.py”, line 732, in install
**kwargs
File “/var/folders/g_/ddy0wyhj5nldvtghmjp4vrk40000gn/T/tmpYUVYv8/pip.zip/pip/req/req_install.py”, line 835, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File “/var/folders/g_/ddy0wyhj5nldvtghmjp4vrk40000gn/T/tmpYUVYv8/pip.zip/pip/req/req_install.py”, line 1030, in move_wheel_files
isolated=self.isolated,
File “/var/folders/g_/ddy0wyhj5nldvtghmjp4vrk40000gn/T/tmpYUVYv8/pip.zip/pip/wheel.py”, line 344, in move_wheel_files
clobber(source, lib_dir, True)
File “/var/folders/g_/ddy0wyhj5nldvtghmjp4vrk40000gn/T/tmpYUVYv8/pip.zip/pip/wheel.py”, line 315, in clobber
ensure_dir(destdir)
File “/var/folders/g_/ddy0wyhj5nldvtghmjp4vrk40000gn/T/tmpYUVYv8/pip.zip/pip/utils/init.py”, line 83, in ensure_dir
os.makedirs(path)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/pip’
tgstone-iMac:letsencrypt tgstone$


#2

You probably want sudo ./letsencrypt-auto, etc.