'module' object has no attribute 'from_env' · Issue #1743 ...
github.com › docker › docker-pySep 13, 2017 · import docker docker_client = docker.from_env () This give the error: Traceback (most recent call last): File "/path/to/program.py", line 7, in <module> docker_client = docker.from_env () AttributeError: 'module' object has no attribute 'from_env'. This is also not unique to this function, the rest of the module is missing as well and this has been installed via pip.