Issue2736
Created on 2019年01月19日.23:19:27 by stuaxo, last changed 2019年12月24日.10:43:38 by jeff.allen.
| Messages | |||
|---|---|---|---|
| msg12328 (view) | Author: stu (stuaxo) | Date: 2019年01月19日.23:19:27 | |
On Ubuntu 18.10 64 bit, jython 2.7.1, I tried to install pip: $ jython -m ensurepip WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.python.core.PySystemState (file:/usr/share/java/jython-2.7.1.jar) to method java.io.Console.encoding() WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Ignoring ensurepip failure: pip 9.0.1 requires SSL/TLS |
|||
| msg12740 (view) | Author: Jeff Allen (jeff.allen) | Date: 2019年11月03日.10:07:53 | |
I tested this with 2.7.2b2 and can reproduce it. It actually happens because attempting to import the ssl module fails, and this happens because there is no module called encodings. And it's right: Lib/encodings is not present in my Linux installation if I choose "minimal". When I make a standard installation (interactively), pip and setuptools are installed for me, successfully. And encodings is present too. This may be an attempt to save you disk footprint, but it seems misplaced given this consequence. The easy work-around is to make a standard installation. |
|||
| msg12880 (view) | Author: Jeff Allen (jeff.allen) | Date: 2019年12月24日.10:43:38 | |
I'm assuming the work-around (standard installation) works for uses, but keeping open as a fix is desirable (maybe not critical for 2.7.2). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019年12月24日 10:43:38 | jeff.allen | set | title: ensurepip fails with: pip 9.0.1 requires SSL/TLS -> ensurepip fails with: pip 9.0.1 requires SSL/TLS (after minimal linstall) messages: + msg12880 milestone: Jython 2.7.2 -> |
| 2019年11月03日 10:15:37 | jeff.allen | set | keywords: + easy |
| 2019年11月03日 10:07:53 | jeff.allen | set | type: behaviour nosy: + jeff.allen messages: + msg12740 priority: normal components: + Installer, - Library milestone: Jython 2.7.2 resolution: accepted |
| 2019年01月19日 23:19:27 | stuaxo | create | |
Supported by Python Software Foundation,
Powered by Roundup