We are now able to use the PIP 9.0.3 in Jython by following the steps mentioned. And now, tried to install Robot Framework in Jython with the PIP version of 9.0.3.
But still, we are facing the same issue which was already faced while trying to install Robot Framework in Jython using the command:
jython -m pip install -U --force robotframework==3.1.2
Below is the error which was throwing when we executed the command:
C:\Users\ah0161759.HEWITT-NA>jython -m pip install -U --force robotframework==3.
1.2
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:“C:\Program Files (x86)
HP\Unified Functional Testing\bin\java_shared\classes”;“C:\Program Files (x86)\H
P\Unified Functional Testing\bin\java_shared\classes\jasmine.jar”
Collecting robotframework==3.1.2
←[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_ver
ify
raise IOError("Could not find a suitable TLS CA certificate bundle, "
IOError: Could not find a suitable TLS CA certificate bundle, invalid path: py
classpath/pip/_vendor/certifi\cacert.pem←[0m
←[33mYou are using pip version 9.0.3, however version 20.1.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.←[0m
Can you please help us on the same as we are having the correct version of PIP installed now in Jython.
Thanks.