$ docker-compose up
...
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-1xaw773u/argon2-cffi
You are using pip version 7.1.2, however version 20.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
FROM jupyter/all-spark-notebook:0017b56d93c9
Docker Engine: 19.03.13
Docker Compose: 1.27.4
macOs Catalina 10.15.7
https://github.com/jupyter/kernel_gateway_demos/tree/master/python_client_example
Fix/workaround:
Use
latestDocker image instead ofin https://github.com/jupyter/kernel_gateway_demos/blob/master/python_client_example/Dockerfile.kg#L5