title: virtualenvwrapper.sh error showing at terminal startup
body: <p>As I'm starting to learn Python programming, I installed virtualenvwrapper via these commands:</p>
  
  <pre><code># Install distribute: http://pypi.python.org/pypi/distribute
  wget http://python-distribute.org/distribute_setup.py
  sudo python distribute_setup.py
  
  # Install pip http://pypi.python.org/pypi/pip
  sudo easy_install pip
  
  # Install virtualenv
  sudo pip install virtualenv
  
  # Install virtualenvwrapper
  sudo pip install --upgrade virtualenvwrapper
  virtualenvwrapper.sh
  echo source `which virtualenvwrapper.sh` &gt;&gt; $HOME/.bashrc
  
  # IMPORTANT
  # Go to the working directory
  
  # Start a working environment virtualenv
  mkvirtualenv &lt;working environment name&gt;
  
  # Install all the requirements for the working environment
  pip -E $VIRTUAL_ENV install -r requirements.txt
  </code></pre>
  
  <p>I've been getting this error every time I open a terminal (via guake)</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;module&gt;
    File "/usr/local/lib/python2.6/dist-packages/virtualenvwrapper/hook_loader.py", line 72, in main
      backupCount=1,
    File "/usr/lib/python2.6/logging/handlers.py", line 112, in __init__
      BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
    File "/usr/lib/python2.6/logging/handlers.py", line 64, in __init__
      logging.FileHandler.__init__(self, filename, mode, encoding, delay)
    File "/usr/lib/python2.6/logging/__init__.py", line 827, in __init__
      StreamHandler.__init__(self, self._open())
    File "/usr/lib/python2.6/logging/__init__.py", line 846, in _open
      stream = open(self.baseFilename, self.mode)
  IOError: [Errno 2] No such file or directory: '/home/ahim/$VIRTUALENVWRAPPER_LOG_DIR/hook.log'
  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=/usr/bin/python and that PATH is set properly.
  </code></pre>
  
  <p>I'm using Linux Mint 10 64bit GNOME.</p>
  
  <p>Is there any way to solve this error I see in the terminal?</p>
  
  <p>I've tried searching via google but none of them seems to fix this problem.</p>
  
  <p>Thank you in advance.</p>
  
  <p>===Edit===</p>
  
  <p>This is what is written in /home/user/.bashrc</p>
  
  <pre><code>source /usr/local/bin/virtualenvwrapper.sh 2&gt; /dev/null
  VIRTUALENVWRAPPER_LOG_DIR=/tmp
  export VIRTUALENVWRAPPER_LOG_DIR
  </code></pre>
  
  <p>Please help :(</p>