I got this error trying to run the docker build using sudo docker build -t stardist --build-arg NVIDIA_DRIVER_VERSION=455 . The solution was to add RUN pip uninstall -y enum34 to the dockerfile above line 16, meaning above RUN pip install stardist gputools edt After this the build ran...