Traceback (most recent call last):


 "/home/mohit/Downloads/lib/python3.6/site-packages/clang/cindex.py", line 3365, in register_function

func = getattr(lib, item[0])


 "/home/mohit/Downloads/lib/python3.6/ctypes/__init__.py", line 361, in __getattr__

func = self.__getitem__(name)


 "/home/mohit/Downloads/lib/python3.6/ctypes/__init__.py", line 366, in __getitem__

func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /home/mohit/Downloads/bin/python: undefined symbol: clang_annotateTokens

Traceback (most recent call last):



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 186, in _main


status = self.run(options, args)



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 331, in run


resolver.resolve(requirement_set)



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 177, in resolve


discovered_reqs.extend(self._resolve_one(requirement_set, req))



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 333, in _resolve_one


abstract_dist = self._get_abstract_dist_for(req_to_install)



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 281, in _get_abstract_dist_for


req.populate_link(self.finder, upgrade_allowed, require_hashes)



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 249, in populate_link


self.link = finder.find_requirement(self, upgrade)



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/index/package_finder.py", line 899, in find_requirement


req.name, specifier=req.specifier, hashes=hashes,



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/index/package_finder.py", line 881, in find_best_candidate


candidates = self.find_all_candidates(project_name)



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/index/package_finder.py", line 826, in find_all_candidates


project_url, link_evaluator=link_evaluator,



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/index/package_finder.py", line 790, in process_project_url


html_page = self._link_collector.fetch_page(project_url)



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/index/collector.py", line 497, in fetch_page


return _get_html_page(location, session=self.session)



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/index/collector.py", line 337, in _get_html_page


resp = _get_html_response(url, session=session)



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/index/collector.py", line 143, in _get_html_response


"Cache-Control": "max-age=0",



 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_vendor/requests/sessions.py", line 546, in get

return self.request('GET', url, **kwargs)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_internal/network/session.py", line 405, in request

return super(PipSession, self).request(method, url, *args, **kwargs)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_vendor/requests/sessions.py", line 533, in request

resp = self.send(prep, **send_kwargs)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_vendor/requests/sessions.py", line 646, in send

r = adapter.send(request, **kwargs)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_vendor/cachecontrol/adapter.py", line 53, in send

resp = super(CacheControlAdapter, self).send(request, **kw)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_vendor/requests/adapters.py", line 449, in send

timeout=timeout


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 672, in urlopen

chunked=chunked,


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 387, in _make_request

conn.request(method, url, **httplib_request_kw)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/http/client.py", line 1252, in request

self._send_request(method, url, body, headers, encode_chunked)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/http/client.py", line 1298, in _send_request

self.endheaders(body, encode_chunked=encode_chunked)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/http/client.py", line 1247, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/http/client.py", line 1026, in _send_output

self.send(msg)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/http/client.py", line 987, in send

self.sock.sendall(data)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 352, in sendall

data[total_sent : total_sent + SSL_WRITE_BLOCKSIZE]


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 340, in _send_until_done

return self.connection.send(data)


 "/home/alpha/virtualenvs/tmp-237b62f38097d99d/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1641, in send

with _from_buffer(buf) as data:
AttributeError: __enter__
