I've installed and run virtuarenvwrapper.sh
to try to configure an alternate version of python on my system. This script has placed somewhere a series of commands that are now executed whenever I open gnome-terminal
. Now, when I open a terminal I see:
bash: which: command not found...
bash: -m: command not found...
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenv has been installed for
VIRTUALENVWRAPPER_PYTHON= and that PATH is
set properly.
user@localhost ~]$
I want to remove these commands but I can't find out where they are. I've looked in:
~/.bash_profile
~/.bashrc
/etc/bashrc
The commands run on my user terminal as well as root's terminal. What other places can one put commands to run upon opening a terminal?
rmvirtualenv
, I get similar errors to what I get when opening a terminal. – drs Jun 09 '14 at 17:04grep
and ripping out all the cruft. – slm Jun 09 '14 at 17:17