You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Somehow pip is kind of crucial for Python in general, other Dockerhub jython Docker images do in-fact bundle pip. Somehow harisekhon/jython:latest does not contain pip though. Usually one would use ensurepip to retrieve a recent version of pip, though
tracing down the jython code, this will message will show up if import ssl raises an exception. Trying to do so will result in missing module encodings.
$ jython
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.8.0_171
Type "help", "copyright", "credits" or "license"for more information.
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "/Users/fwierzbicki/hg/jython/jython/dist/Lib/ssl.py", line 18, in<module>
File "/Users/fwierzbicki/hg/jython/jython/dist/Lib/_socket.py", line 2, in<module>
ImportError: No module named encodings
The text was updated successfully, but these errors were encountered:
Somehow
pip
is kind of crucial for Python in general, other Dockerhub jython Docker images do in-fact bundlepip
. Somehowharisekhon/jython:latest
does not containpip
though. Usually one would useensurepip
to retrieve a recent version of pip, thoughtracing down the jython code, this will message will show up if
import ssl
raises an exception. Trying to do so will result in missing moduleencodings
.The text was updated successfully, but these errors were encountered: