Message13188

Author Daniel
Recipients Daniel
Date 2022-04-13.14:42:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1649860953.21.0.127314512657.issue2928@roundup.psfhosted.org>
In-reply-to
Content
Hello!
I've installed the latest available version Jython 2.7.2 from https://www.jython.org/download
I need to install there some packages, like numpy. But simple command 
C:\jython2.7.2\bin>pip install numpy
shows a lot of certificate errors like this:
ERROR: Certificate did not match expected hostname: pypi.org...

Ok, I've found workaround in internet:
C:\jython2.7.2\bin>pip install -v --trusted-host pypi.org --trusted-host files.pythonhosted.org numpy
But even this variant does not work:
...
  Could not fetch URL https://pypi.org/simple/numpy/: 403 Client Error: SNI is required for url: https://pypi.org/simple/numpy/ - skipping
  ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)
...
ERROR: No matching distribution found for numpy

What is the reason? How to correctly install numpy, opencv-python and other packages into Jython?
History
Date User Action Args
2022-04-13 14:42:33Danielsetrecipients: + Daniel
2022-04-13 14:42:33Danielsetmessageid: <1649860953.21.0.127314512657.issue2928@roundup.psfhosted.org>
2022-04-13 14:42:33Daniellinkissue2928 messages
2022-04-13 14:42:32Danielcreate