Looks like a Python3 error as described here:

https://stackoverflow.com/questions/65896334/python-pip-broken-wiith-sys-stderr-writeferror-exc

 

Looks like we need some way to choose to use the older version of pip using:

curl https://bootstrap.pypa.io/2.7/get-pip.py -o get-pip.py

instead of:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

 

Eric