Skip to main content

This is the error I am getting when I trying to upgrade the pip --version in the base image and build a new fmeserverengine image:

Step 2/45 : RUN python3 -m pip install --upgrade pip

---> Running in 95e4bf57b3f0

Fatal Python error: Py_Initialize: Unable to get the locale encoding

ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f43b515f740 (most recent call first):

Aborted (core dumped)

Fatal Python error: Py_Initialize: Unable to get the locale encoding

ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f43b515f740 (most recent call first):

Aborted (core dumped)

Service 'fmeserverengine' failed to build: The command '/bin/sh -c python3 -m pip install --upgrade pip' returned a non-zero code: 134

 

The base image which I took it from :

/quay.io/repository/safesoftware/fmeserver-engine:20632

 

Be the first to reply!

Reply