Ошибка среды при установке pynput, как это исправить?
Когда я иду в терминал и захожу
pip install pynput
Терминал начинает работать и загружать, но когда он доходит до точки, я получаю сообщение об ошибке: Could not install packages due to an EnvironmentError
, Кто-нибудь знает, как это исправить?
Я пробовал: sudo pip install pynput
но все равно получаю ту же ошибку.
Терминальный выход для pip install pynput
:
Не удалось установить пакеты из-за ошибки EnvironmentError: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/NibClassBuilder.pyc', '/private/var/folder /mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/NibClassBuilder.pyc', "[Errno 1] Операция недопустима: '/private/var/folder / mv / 5g7w41lj6wp_tv_tv_tv0 NibClassBuilder.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/AppCategories.py', '/private/var/folder / mv / 5gwjjj01000_1000_1000_1000_1000_1000_1000_1000_1000x1000_1000) /T/pip-temp-tLITrp/PyObjCTools/AppCategories.py', "[Errno 1] Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLOjppoPP. '"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/TestSupport.pyc', '/private/var/folder / mv / 5g7w41lj6wvgnz0b00jm0b9) пип-темп-tLITrp/PyObjCTools/TestSupport.pyc', "[Errno 1] Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/TestSupport.pyc'"), (/ System Frameworks / Python.framework / Versions / 2.7 / Дополнения /lib/python/PyObjC/PyObjCTools/Signals.py', '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLOjct.Po. ', "[Errno 1] Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/Signals.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/FndCategories.pyc', '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLOjpjPoPC [Errno 1] Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/FndCategories.pyc'"), ('/System/Libwork/yrameworks/Fraworks Версии / 2.7 / Дополнительно /lib/python/PyObjC/PyObjCTools/Signals.pyc', '/private/var/folder /mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/Signals.pyc', "[Errno 1] Операция недопустима: '/private/var/folder / mv / 5g7w41lj6wv3jmvb_8z0pmLTCT0pIp-tgp0000 pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/Conversion.pyc', '/private/var/folder / mv / 5g7w41lj6wv3z0000000000000000000000000000000000000000000000000000000000000000000000000000000000 /pip-temp-tLITrp/PyObjCTools/Conversion.pyc', "[Errno 1] Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrpct.o/bb)), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/NibClassBuilder.py', '/private/var/folders/mv/5g7w41lj6wv3z0p00_p0_1000_px_1000_ht_0000_ht_0000_ht_0000_hp00_1000_p0_1000) temp-tLITrp/PyObjCTools/NibClassBuilder.py', "[Errno 1] Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyBoNC). "/System/Library/Frameworks/Python.framework/Versions/2.7/Extra s / lib / python / PyObjC / PyObjCTools / TestSupport.py', '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/Test.: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/TestSupport.py' "), ('/System/Library/Frameworks/Python.fraslili/ /python/PyObjC/PyObjCTools/Conversion.py', '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/Conversion.r ': операция 1] [] private / var / folder / mv / 5g7w41lj6wv3jmvb_8z0pm900000gn / T / pip-temp-tLITrp / PyObjCTools / Conversion.py '"), (' /System/Library/Frameworks/Python.framework/Versions/2.7/Ethonras PyObjC / PyObjCTools / AppCategories.pyc', '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/AppCategories.pyr '] / папки / мв / 5g7w41lj6wv3jmvb_8z0pm900000gn / Т / пип-Temp-tLITrp / PyObjCTools / AppCatego ries.pyc '"), (' /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/Debugging.pyc ',' / private / var / folder / mv / 5g7w41ljvb0000jj0000000000000000000000000000000000000000000000000000000000000000000000000000000000000_64.jp.jpg.jpg8000.jp. /T/pip-temp-tLITrp/PyObjCTools/Debugging.pyc ', "[Errno 1] Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLObjPo.png/p '"), (' /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/ init.py ',' / private / var / folder / mv / 5g7w41lj6wv3jmvb / 8z0pm9 pip-temp-tLITrp / PyObjCTools / init.py ', "[Errno 1] Операция не разрешена: '/private/var/folder / mv / 5g7w41lj6wv3jmvb_8z0pm900000gn / T / pip-temp-tLITrp / PyObjCTools / init.py '", ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/KeyValueCoding.py', '/ private / var / folders / mv / 5g7w41lj6wv3j / tmp_p0000_000_1000_px_px_t_t_00_1000_2000_px_1000_t_p_1000_1000_t_p_t_t_t_p_1000 -tLITrp / PyObjCTools / KeyValueCoding.py', "[Errno 1] Операция не разрешена: '/private/var/folder / mv / 5g7w41lj 6wv3jmvb_8z0pm900000gn / T / pip-temp-tLITrp / PyObjCTools / KeyValueCoding.py '"), (' /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyOpyjjCjCj), '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/Debugging.py', "[Errno 1] Операция недопустима: '/ private / var / folder / mv / 5ww4007_1000_1808) /pip-temp-tLITrp/PyObjCTools/Debugging.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/MachSignals /py ',' private / var / folder / mv / 5g7w41lj6wv3jmvb_8z0pm900000gn / T / pip-temp-tLITrp / PyObjCTools / MachSignals.pyc ', "[Errno 1] Операция не разрешена: '/private/var/folder / mv / 5g7w41ljvw0000800006 temp-tLITrp / PyObjCTools / MachSignals.pyc '"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/MachSignals.py ',' / private var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/MachSignals.py", "[Errno 1] Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/MachSignals.py'"), ('/ System / Library / Frameworks / Python.) Framework / Версии / 2.7 / Дополнительно / lib / python / PyObjC / PyObjCTools / AppHelper.pyc', '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObT Errno 1] Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/AppHelper.pyc' "), ('/System/Library/VthonmeFrameworks /2.7/Extras/lib/python/PyObjC/PyObjCTools/KeyValueCoding.pyc', '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrjols/t/0/0/0/PyPyPC Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjCTools/KeyValueCoding.pyc' "), ('/System/Library/Frameions/work/Vthon Extras / lib / python / PyObjC / PyObjCTools / init.pyc ',' / private / var / folder / mv / 5g7w41lj6wv3jmvb_8z0pm900000gn / T / pip-temp-tLITrp / PyObjCTools / init.pyc ', "[Errno 1] Операция недопустима: '/private/var/folder / mv / 5g7w41lj6wv3jmvb_8z / tempt pp0000ToP0000 pyc '"), (' /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/FndCategories.py ',' / private / var / folder / mv / 5g7w41lj6wvgn0mb9 /pip-temp-tLITrp/PyObjCTools/FndCategories.py ', "[Errno 1] Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITbndt" /.), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/PyObjCTools/AppHelper.py', '/ private / var / folder / mv / 5g7w41lj6wv3jmvb0000_000) temp-tLITrp / PyObjCTools / AppHelper.py ', "[Errno 1] Операция не разрешена: '/private/var/folders/mv/5g7w41lj6wv3jmvb_8z0pm900000gn/T/pip-temp-tLITrp/PyObjppools (("/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/pytho n / PyObjC / PyObjCTools ',' / private / var / folder / mv / 5g7w41lj6wv3jmvb_8z0pm900000gn / T / pip-temp-tLITrp / PyObjCTools ', "[Errno 1] Операция не разрешена:' / private / var / wjwjww700v1000v1 mv41 / m1 / Т / пип-Temp-tLITrp/PyObjCTools'")]