Message13188
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? |
|
Date |
User |
Action |
Args |
2022-04-13 14:42:33 | Daniel | set | recipients:
+ Daniel |
2022-04-13 14:42:33 | Daniel | set | messageid: <1649860953.21.0.127314512657.issue2928@roundup.psfhosted.org> |
2022-04-13 14:42:33 | Daniel | link | issue2928 messages |
2022-04-13 14:42:32 | Daniel | create | |
|