title: Installation issues for Virtualenv and VirtualenvWrapper in Ubuntu 13.04
body: <p>Ubuntu Server in VirtualBox. I am trying to install VirtualEnv to start learning Flask and bottle.
  Some details of my setup.</p>
  
  <pre><code>vks@UbSrVb:~$ cat /etc/os-release 
  NAME="Ubuntu"
  VERSION="12.04.2 LTS, Precise Pangolin"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu precise (12.04.2 LTS)"
  VERSION_ID="12.04"
  
  vks@UbSrVb:~$ python --version
  Python 2.7.3
  vks@UbSrVb:~$ echo $VIRTUALENVWRAPPER_PYTHON
  /usr/bin/python
  vks@UbSrVb:~$ echo $VIRTUALENV_PYTHON
  
  vks@UbSrVb:~$
  </code></pre>
  
  <p>When I boot my Virtual Machine, I get the following error on my console  </p>
  
  <pre><code>/usr/bin/python: No module named virtualenvwrapper
  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>When i try to initialize a virtualenv I get the following errors</p>
  
  <pre><code>vks@UbSrVb:~/dropbox/venv$ virtualenv try1
  New python executable in try1/bin/python3.2
  Also creating executable in try1/bin/python
  Traceback (most recent call last):
    File "/usr/local/bin/virtualenv", line 9, in &lt;module&gt;
      load_entry_point('virtualenv==1.9.1', 'console_scripts', 'virtualenv')()
    File "/usr/local/lib/python3.2/dist-packages/virtualenv.py", line 979, in main
      no_pip=options.no_pip)
    File "/usr/local/lib/python3.2/dist-packages/virtualenv.py", line 1081, in create_environment
      site_packages=site_packages, clear=clear))
    File "/usr/local/lib/python3.2/dist-packages/virtualenv.py", line 1499, in install_python
      os.symlink(py_executable_base, full_pth)
  OSError: [Errno 30] Read-only file system
  
  
  vks@UbSrVb:~/dropbox/venv$ ls
  try1
  vks@UbSrVb:~/dropbox/venv$ ls try1/
  bin  include  lib
  vks@UbSrVb:~/dropbox/venv$ 
  </code></pre>
  
  <p>My .bashrc entries </p>
  
  <pre><code>export WORKON_HOME='~/dropbox/venv/'
  source '/usr/local/bin/virtualenvwrapper.sh'
  </code></pre>
  
  <p>Q1 - As per the error at bootup, How do I ensure <em>virtualenv</em> is installed for VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is
  set properly ?<br>
  Q2 - Even with sudo I get the same "Read-only file system" Error ?  </p>
  
  <p><em>I have tried installing virtualenv using pip and then apt-get, just to hit and try.</em></p>