Also found it necessary to make sure this was set in the ~/.bashrc There is some discussion here: https://discuss.tensorflow.org/t/could-not-load-dynamic-library-libcudart-so-11-0/15711/10