Celeb Glow
news | February 27, 2026

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?

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy