vvcephei commented on pull request #10661:
URL: https://github.com/apache/kafka/pull/10661#issuecomment-876782447
Hmm, I also hit that same error today.
It seems to have been caused because the image was running Debian 9, and the
latest version of `python3` available in Debian 9 is 3.5, which only supports
pip up to version 20. I confirmed this was the issue by getting a terminal on
top of the errored image, downloading and compiling python 3.6, and running
`python3.6 -m pip install -U pip=21.1.1`.
After running `docker system prune -a`, I see it's running Debian 10:
```
root@826557ee9546:/# cat /etc/issue
Debian GNU/Linux 10 \n \l
```
Building on the recent discussion here, maybe what's happening is that we
had an older cached version of the openjdk:8 image, which limited the python
version to 3.5, which in turn make it impossible to upgrade to pip 21.
Just wanted to provide more context. I assume others will hit the same
thing. The solution is to run `docker system prune -a`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org