kiteconnect on mac

akhilpakkath
hello there
I am unable install the kite connect using pip install kiteconnect , getting the below message. Can someone help?

Requirement already satisfied: setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from zope.interface>=3.6.0->autobahn[twisted]>=17.10.1->kiteconnect) (41.0.1)
Requirement already satisfied: pycparser in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL>=17.5.0->kiteconnect) (2.19)
Installing collected packages: python-dateutil, attrs, Automat, PyHamcrest, constantly, incremental, hyperlink, Twisted
Found existing installation: python-dateutil 1.5
Uninstalling python-dateutil-1.5:
ERROR: Could not install packages due to an EnvironmentError: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/parser.pyc', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/parser.pyc', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/parser.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/relativedelta.py', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/relativedelta.py', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/relativedelta.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/zoneinfo-2010g.tar.gz', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/zoneinfo/zoneinfo-2010g.tar.gz', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/zoneinfo/zoneinfo-2010g.tar.gz'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/__init__.py', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/zoneinfo/__init__.py', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/zoneinfo/__init__.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/__init__.pyc', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/zoneinfo/__init__.pyc', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/zoneinfo/__init__.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/zoneinfo', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/zoneinfo'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tz.py', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/tz.py', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/tz.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/relativedelta.pyc', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/relativedelta.pyc', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/relativedelta.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/rrule.pyc', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/rrule.pyc', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/rrule.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/__init__.py', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/__init__.py', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/__init__.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/parser.py', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/parser.py', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/parser.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tzwin.py', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/tzwin.py', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/tzwin.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/rrule.py', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/rrule.py', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/rrule.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/__init__.pyc', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/__init__.pyc', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/__init__.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/easter.py', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/easter.py', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/easter.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/easter.pyc', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/easter.pyc', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/easter.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tz.pyc', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/tz.pyc', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/tz.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tzwin.pyc', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/tzwin.pyc', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5/tzwin.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil', '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5', "[Errno 1] Operation not permitted: '/private/var/folders/qx/r_6vy4x53cgg0j4ncqtpm8bh0000gn/T/pip-uninstall-9s4bE5'")]
Tagged:
  • sujith
    There are two versions of python on Mac. You might have to see which version is being used globally and follow the instructions to install for that particular version of python.
  • akhilpakkath
    thanks sujith, i resolved the issue
This discussion has been closed.