I needed to install the DAFT package for Python 2.7 for my Dockerised Jupyter Server.
pip install daft in the terminal installed DAFT for the Python 3 environment. This is how to install for Python 2.7.
Open a terminal to the Jupyter container
docker exec -it notebooks bash and list the Conda environments:
conda info -e python2 /opt/conda/envs/python2 root * /opt/conda
Activate the Python 2.7 environment
source activate python2, and
pip install daft.
source activate python2 pip install daft
DAFT will now be available to Python 2.7.