Getting TLS certificate error when trying to install Robot Framework in Jython

Hi,

I have installed Jython 2.7.2 and would want to install Robot Framework in it.
Tried executing jython -m pip install robotframework in C:\Jython2.7.2.
But received the below error:

Collecting robotframework
e[31mException:
Traceback (most recent call last):
File “pyclasspath/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “pyclasspath/pip/commands/install.py”, line 324, in run
requirement_set.prepare_files(finder)
File “pyclasspath/pip/commands/install.py”, line 324, in run
requirement_set.prepare_files(finder)
File “pyclasspath/pip/req/req_set.py”, line 376, in prepare_files
discovered_reqs.extend(self._prepare_file(
File “pyclasspath/pip/req/req_set.py”, line 376, in prepare_files
discovered_reqs.extend(self._prepare_file(
File “pyclasspath/pip/req/req_set.py”, line 551, in _prepare_file
req_to_install.populate_link(
File “pyclasspath/pip/req/req_install.py”, line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File “pyclasspath/pip/index.py”, line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File “pyclasspath/pip/index.py”, line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File “pyclasspath/pip/index.py”, line 568, in _get_pages
page = self._get_page(location)
File “pyclasspath/pip/index.py”, line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File “pyclasspath/pip/index.py”, line 788, in get_page
resp = session.get(
File “pyclasspath/pip/index.py”, line 788, in get_page
resp = session.get(
File “pyclasspath/pip/_vendor/requests/sessions.py”, line 521, in get
return self.request(‘GET’, url, **kwargs)
File “pyclasspath/pip/download.py”, line 386, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File “pyclasspath/pip/_vendor/requests/sessions.py”, line 508, in request
resp = self.send(prep, **send_kwargs)
File “pyclasspath/pip/_vendor/requests/sessions.py”, line 618, in send
r = adapter.send(request, **kwargs)
File “pyclasspath/pip/_vendor/cachecontrol/adapter.py”, line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File “pyclasspath/pip/_vendor/requests/adapters.py”, line 407, in send
self.cert_verify(conn, request.url, verify, cert)
File “pyclasspath/pip/_vendor/requests/adapters.py”, line 225, in cert_verify
raise IOError("Could not find a suitable TLS CA certificate bundle, "
IOError: Could not find a suitable TLS CA certificate bundle, invalid path: pyclasspath/pip/_vendor/certifi\cacert.peme[0m

I am using:
Python : 2.7.15
Jython : 2.7.2
PIP : 9.0.3

Can anyone help me understand and solve this issue as it is specific to my system and it seems to be working in my colleague’s system.

Hi,

Please find the screenshot attached below for reference of what version I have been using for all: