C:\Windows\system32>pip install kiteconnect Collecting kiteconnect Using cached https://files.pythonhosted.org/packages/5a/dc/482cb13486946889b6a26abeb4036f5b8af19978251cc61f0ee45de4d833/kiteconnect-3.7.6.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "c:\users\administrator\appdata\local\programs\python\python36\lib\urllib\request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "c:\users\administrator\appdata\local\programs\python\python36\lib\http\client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "c:\users\administrator\appdata\local\programs\python\python36\lib\http\client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "c:\users\administrator\appdata\local\programs\python\python36\lib\http\client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "c:\users\administrator\appdata\local\programs\python\python36\lib\http\client.py", line 1026, in _send_output self.send(msg) File "c:\users\administrator\appdata\local\programs\python\python36\lib\http\client.py", line 964, in send self.connect() File "c:\users\administrator\appdata\local\programs\python\python36\lib\http\client.py", line 1400, in connect server_hostname=server_hostname) File "c:\users\administrator\appdata\local\programs\python\python36\lib\ssl.py", line 407, in wrap_socket _context=self, _session=session) File "c:\users\administrator\appdata\local\programs\python\python36\lib\ssl.py", line 814, in __init__ self.do_handshake() File "c:\users\administrator\appdata\local\programs\python\python36\lib\ssl.py", line 1068, in do_handshake self._sslobj.do_handshake() File "c:\users\administrator\appdata\local\programs\python\python36\lib\ssl.py", line 689, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:841)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\package_index.py", line 766, in open_url return open_with_auth(url, self.opener) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\package_index.py", line 961, in _socket_timeout return func(*args, **kwargs) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\package_index.py", line 1079, in open_with_auth fp = opener(request) File "c:\users\administrator\appdata\local\programs\python\python36\lib\urllib\request.py", line 223, in urlopen return opener.open(url, data, timeout) File "c:\users\administrator\appdata\local\programs\python\python36\lib\urllib\request.py", line 526, in open response = self._open(req, data) File "c:\users\administrator\appdata\local\programs\python\python36\lib\urllib\request.py", line 544, in _open '_open', req) File "c:\users\administrator\appdata\local\programs\python\python36\lib\urllib\request.py", line 504, in _call_chain result = func(*args) File "c:\users\administrator\appdata\local\programs\python\python36\lib\urllib\request.py", line 1361, in https_open context=self._context, check_hostname=self._check_hostname) File "c:\users\administrator\appdata\local\programs\python\python36\lib\urllib\request.py", line 1320, in do_open raise URLError(err) urllib.error.URLError:
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 1, in File "C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-install-6paluit0\kiteconnect\setup.py", line 126, in cmdclass={"install": install, "bdist_wheel": FakeBdist} File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\__init__.py", line 142, in setup _install_setup_requires(attrs) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\__init__.py", line 137, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\dist.py", line 586, in fetch_build_eggs replace_conflicting=True, File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\pkg_resources\__init__.py", line 780, in resolve replace_conflicting=replace_conflicting File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\pkg_resources\__init__.py", line 1063, in best_match return self.obtain(req, installer) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\pkg_resources\__init__.py", line 1075, in obtain return installer(requirement) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\dist.py", line 653, in fetch_build_egg return cmd.easy_install(req) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\command\easy_install.py", line 667, in easy_install not self.always_copy, self.local_index File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\package_index.py", line 655, in fetch_distribution dist = find(requirement) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\package_index.py", line 635, in find loc = self.download(dist.location, tmpdir) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\package_index.py", line 579, in download found = self._download_url(scheme.group(1), spec, tmpdir) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\package_index.py", line 824, in _download_url return self._attempt_download(url, filename) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\package_index.py", line 830, in _attempt_download headers = self._download_to(url, filename) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\package_index.py", line 729, in _download_to fp = self.open_url(url) File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\setuptools\package_index.py", line 780, in open_url % (url, v.reason)) distutils.errors.DistutilsError: Download error for https://files.pythonhosted.org/packages/72/a4/d7a5738a3096f22a98bec1609e237b250ebff04e5ea2930305d4853372 63/pytest_runner-4.2-py2.py3-none-any.whl#sha256=d987fec1e31287592ffe1cb823a8c613c533db4c6aaca0ee1191dbc91e2fcc61: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:841)
---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-install-6paluit0\kiteconnect\
Specifications: windows: windows server 2012 R2 standard ram: 1gb os: 64 bit python version: 3.6.6 pip version: 18.1 I was able to install twisted 18.7.0 cp36 -cp36m -win_amd_6.whl
pip install kiteconnect --no-cache
?it failed with the same error.
replace WHEEL_NAME with appropriate twisted wheel according to your distribution from here https://github.com/zerodhatech/python-wheels
tried: pip install kiteconnect --no-cache .. failed with same error
tried: pip install kiteconnect .. failed with same error
Try searching this error SSL: CERTIFICATE_VERIFY_FAILED
thanks a lot