These is somewhere the libaten still on your system.
Could you check your LD_LIBRARY_PATH for unnecessary paths?
Also just to make sure we get rid of all installs, could you run this again:
conda uninstall -y pytorch-nightly
conda uninstall -y pytorch
pip uninstall -y torch
pip uninstall -y torch
pip uninstall -y torch

conda install -y pytorch-nightly