Jython with Pip Installation Ubuntu 18.04

Jython with Pip Installation Ubuntu 18.04

I hope you can help me. I followed this guide.

If I run jython -m pip install pip --upgrade I receive

Cannot fetch index base URL 
Could not find any downloads that satisfy the requirement pip in ./site-packages
Downloading/unpacking pip
Cleaning up...
No distributions at all found for pip in ./site-packages
Storing debug log for failure in /home/openhabvm/.pip/pip.log

So having a better look:

cat /home/openhabvm/.pip/pip.log
------------------------------------------------------------
pip run on Mon Jun 28 20:32:41 2021
Getting page 
Could not fetch URL  403 Client Error: [[[!!! BREAKING CHANGE !!!]]] Support for clients that do not support Server Name Indication is temporarily disabled and will be permanently deprecated soon. See  and  [[[!!! END BREAKING CHANGE !!!]]]
Will skip URL  when looking for download links for pip in ./site-packages
Getting page 
Could not fetch URL  403 Client Error: [[[!!! BREAKING CHANGE !!!]]] Support for clients that do not support Server Name Indication is temporarily disabled and will be permanently deprecated soon. See  and  [[[!!! END BREAKING CHANGE !!!]]]
Will skip URL  when looking for download links for pip in ./site-packages
Cannot fetch index base URL 
URLs to search for versions for pip in ./site-packages:
* 
Getting page 
Could not fetch URL  403 Client Error: [[[!!! BREAKING CHANGE !!!]]] Support for clients that do not support Server Name Indication is temporarily disabled and will be permanently deprecated soon. See  and  [[[!!! END BREAKING CHANGE !!!]]]
Will skip URL  when looking for download links for pip in ./site-packages
Could not find any downloads that satisfy the requirement pip in ./site-packages
Downloading/unpacking pip
Cleaning up...
  Removing temporary dir /tmp/pip_build_openhabvm...
No distributions at all found for pip in ./site-packages
Exception information:
Traceback (most recent call last):
  File "/usr/local/lib/jython2.7.0/Lib/site-packages/pip/basecommand.py", line 133, in main
    status = self.run(options, args)
  File "/usr/local/lib/jython2.7.0/Lib/site-packages/pip/commands/install.py", line 316, in run
    requirement_set.prepare_files(
  File "/usr/local/lib/jython2.7.0/Lib/site-packages/pip/commands/install.py", line 316, in run
    requirement_set.prepare_files(
  File "/usr/local/lib/jython2.7.0/Lib/site-packages/pip/req/req_set.py", line 327, in prepare_files
    raise not_found
DistributionNotFound: No distributions at all found for pip in ./site-packages

Maybe another question. Can I copy as example from Python 2.7 installed packages to Jython?

Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.