// REMPLACEZ-MOI : Configuration requise pour l'installation.
Traceback (appel le plus récent en dernier) :
Fichier "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", ligne 215, dans main
status = self.run(options, arguments)
Fichier "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", ligne 342, en cours d'exécution
prefix=options.prefix_path,
Fichier "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", ligne 784, dans install
**kwargs
Fichier "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", ligne 851, dans install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
Fichier "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", ligne 1064, dans move_wheel_files
isolé=auto.isolé,
Fichier "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/wheel.py", ligne 377, dans move_wheel_files
clobber(source, dest, False, fixer=fixer, filter=filter)
Fichier "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/wheel.py", ligne 316, dans clobber
assurer_dir(destdir)
Fichier "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/init.py", ligne 83, dans assurer_dir
os.makedirs(chemin)
Fichier "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", ligne 150, dans makedirs
makedirs(tête, mode)
Fichier "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", ligne 150, dans makedirs
makedirs(tête, mode)
Fichier "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", ligne 150, dans makedirs
makedirs(tête, mode)
Fichier "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", ligne 157, dans makedirs
mkdir(nom, mode)
OSError : [Errno 1] Opération non autorisée : '/System/Library/Frameworks/Python.framework/Versions/2.7/share'```
```
C'est le même problème que #3177, qui est en fait un bug causé par Apple Inc. plutôt que par pip.
Vous pouvez dire à pip de transmettre l'option --install-data à setup.py install et d'utiliser un dossier différent en dehors de la protection SIP, par exemple /usr/local
https://github.com/fonttools/fonttools/issues/796#issuecomment -271869673
Ou utilisez simplement --user, ou mieux encore, évitez complètement d'utiliser Apple python.
Rien à faire ici pour pip.
Cela devrait également se produire moins souvent une fois que #1668 est implémenté.
Commentaire le plus utile
Vous pouvez dire à pip de transmettre l'option --install-data à setup.py install et d'utiliser un dossier différent en dehors de la protection SIP, par exemple /usr/local
https://github.com/fonttools/fonttools/issues/796#issuecomment -271869673
Ou utilisez simplement --user, ou mieux encore, évitez complètement d'utiliser Apple python.