Search code examples
linuxbashenthought

How do I revert back to my original python installation from Enthought Canopy on Mint Linux 14 64-bit?


I am attempting to uninstall Enthought Canopy (Linux 64-bit installation) from my Mint Linux KDE machine. The Enthought help file says to remove the ~/Canopy directory.

How do I remove the Canopy directory from my $PATH? This is my $PATH:

/home/steve/Enthought/Canopy_64bit/User/bin:/home/steve/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

I've searched my ~/.bashrc, ~/.profile, /etc/profile, and /etc/bash.bashrc files, and there is no reference to /home/steve/Enthought/Canopy_64bit/User/bin.

How do I replace the $PATH value that was set by my Canopy installation with the default Python installation from my machine? Thanks.


Solution

  • The installer modifies your .profile or .bash_profile files to include a source ~/Enthought/Canopy_64bit/User/bin/activate statement, which probably then modifies your path. Look through your dot files for that source statement instead of the the enthought path itself.

    https://support.enthought.com/entries/23580651-Uninstalling-Canopy