ModuleNotFoundError: No module named 'encodings'

Hi,

I’ve moved the docker storage from the default rhel7 location of /var/lib/docker to /data/docker using the mapping inside daemon.json

{
“graph”: “/data/docker”
}

The services starts up, and generates the directory structure inside the new location. However when I try and build I receive the error;

Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings

Docker version is Docker version 1.13.1, build 7d71120/1.13.1
Docker-Compose is docker-compose version 1.18.0, build 8dd22a9

Has anyone overcome this?

Thanks,

Chris