sudo su not working as it should. Any ideas?

Solution 1:

Anytime I use $sudo su and input the root password

You should be entering your own password there - though that wouldn't cause the problem you describe.

The error message you're getting suggests that the root user has Anaconda installed - which is probably a mistake, and ought to be removed from the root user.

You might try changing to the root user in a different way so that it does not attempt to load /root/.bashrc which I think is the trouble you're having.

Alternatively, you might try to edit /root/.bashrc and comment out the parts which invoke Anaconda.