PyROOT cannot open file: "Error in <TNetXNGFile::Open>: [FATAL] Auth failed"

Just for the record, if you are using anaconda and relying on LD_LIBRARY_PATH and the like, when you source $ROOTSYS/bin/thisroot.sh, that changes LD_LIBRARY_PATH, which may make anaconda software start to use libraries from a different place, e.g. system libraries instead of anaconda libraries. One solution might be to put directories in the right order by hand. I would try with anaconda directories first, then ROOT’s directories, then the system ones. That way anaconda’s python won’t break due to usage of system libraries.