title: Python, virtualenv: Getting permission error while activating
body: <p>I have been given a laptop. So I copied from my Work PC <code>.virtualenvs/</code> directory to my NAS and then I copied it back to my new laptop. </p>
  
  <p>I installed <code>virtualenv</code> and <code>virtualenvwrapper</code> but I can't get my virtual environment to work. This is what I got at first:</p>
  
  <pre><code>chris@chris-amilo ~ $ workon iwidget
  virtualenvwrapper.user_scripts could not run "/home/chris/.virtualenvs/preactivate": [Errno 13] Permission denied
  virtualenvwrapper.user_scripts could not run "/home/chris/.virtualenvs/iwidget/bin/preactivate": [Errno 13] Permission denied
  </code></pre>
  
  <p>then I did a chmod +x to those files. Although I could change to this environment after, no library can be seen. </p>
  
  <p>I also get this:</p>
  
  <pre><code>chris@chris-amilo ~ $ ./.virtualenvs/iwidget/bin/activate
  bash: ./.virtualenvs/iwidget/bin/activate: Permission denied
  </code></pre>
  
  <p>Also, the following shows that although I can <code>workon</code> on certain env, nothing can be imported: (after I did a chmod +x to preactivate files)</p>
  
  <pre><code>chris@chris-amilo ~ $ workon iwidget
  (iwidget)chris@chris-amilo ~ $ python 
  Python 2.7.6 (default, Mar 22 2014, 22:59:56) 
  [GCC 4.8.2] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import pytz
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named pytz
  &gt;&gt;&gt; 
  (iwidget)chris@chris-amilo ~ $ ls .virtualenvs/iwidget/lib/python2.7/site-packages/py
  py4j/                               pytz/
  py4j-0.8.1-py2.7.egg-info/          pytz-2014.2-py2.7.egg-info/
  python_dateutil-2.2-py2.7.egg-info/ 
  </code></pre>
  
  <p>How can I fix this?</p>