Я устанавливаю PyGame на OSx ElCapitan с установкой системы 2,7 и установкой Python3 после . Настой установки Python3 работал отлично сОшибка Python Pygame OSx, связанная с системой El Capitan
sudo pip3 install hg+http://bitbucket.org/pygame/pygame
Но
sudo pip install hg+http://bitbucket.org/pygame/pygame
бежит в следующей ошибки
running install_headers
creating /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pygame
error: could not create '/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pygame': Operation not permitted
Rolling back uninstall of pygame
Command "/usr/bin/python -c "import setuptools, tokenize;
__file__='/tmp/pip-wepMKN-build/setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-sWpHWA-record/install-record.txt
--single-version-externally-managed --compile"
failed with error code 1 in /tmp/pip-wepMKN-build
, который я считаю, связан в Эль Капитане нового System Integrity Protection. Все было обновлено и доработано до того, как система работает в противном случае.
Любая помощь в том, как я могу преодолеть это, было бы здорово и полезно многим, я уверен.
Благодаря
Крис
Возможно, посмотрите [здесь] (http://apple.stackexchange.com/questions/209572/how-to-use-pip-after-the-el-capitan-max-os-x-upgrade) – Arthur