// REEMPLACE ME: Instalar requisitos.
Rastreo (llamadas recientes más última):
Archivo "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", línea 215, en main
status = self.run (opciones, argumentos)
Archivo "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", línea 342, en ejecución
prefix = options.prefix_path,
Archivo "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", línea 784, en instalación
** kwargs
Archivo "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", línea 851, en instalación
self.move_wheel_files (self.source_dir, root = root, prefix = prefix)
Archivo "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", línea 1064, en move_wheel_files
aislado = autoaislado,
Archivo "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/wheel.py", línea 377, en move_wheel_files
clobber (fuente, dest, falso, fijador = fijador, filtro = filtro)
Archivo "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/wheel.py", línea 316, en clobber
asegurar_dir (destdir)
Archivo "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/init.py", línea 83, en secure_dir
os.makedirs (ruta)
Archivo "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", línea 150, en makedirs
makedirs (cabeza, modo)
Archivo "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", línea 150, en makedirs
makedirs (cabeza, modo)
Archivo "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", línea 150, en makedirs
makedirs (cabeza, modo)
Archivo "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", línea 157, en makedirs
mkdir (nombre, modo)
OSError: [Errno 1] Operación no permitida: '/ System / Library / Frameworks / Python.framework / Versions / 2.7 / share'```
''
Ese es el mismo problema que el # 3177, que en realidad es un error causado por Apple Inc. en lugar de pip.
Podría decirle a pip que pase la opción --install-data para instalar setup.py y usar una carpeta diferente fuera de la protección SIP, por ejemplo, / usr / local
https://github.com/fonttools/fonttools/issues/796#issuecomment -271869673
O simplemente use --user, o incluso mejor evite usar Apple Python por completo.
Nada que hacer aquí por Pip.
Esto también debería suceder con menos frecuencia una vez que se implemente # 1668.
Comentario más útil
Podría decirle a pip que pase la opción --install-data para instalar setup.py y usar una carpeta diferente fuera de la protección SIP, por ejemplo, / usr / local
https://github.com/fonttools/fonttools/issues/796#issuecomment -271869673
O simplemente use --user, o incluso mejor evite usar Apple Python por completo.