From: Daniel <re...@bu...> - 2022-04-13 14:42:52
|
New submission from Daniel <da...@is...>: 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? ---------- components: Installer messages: 13188 nosy: Daniel severity: normal status: open title: Cannot install packages in Jython (Windows) type: behaviour versions: Jython 2.7.2 _______________________________________ Jython tracker <re...@bu...> <https://bugs.jython.org/issue2928> _______________________________________ |