Installed Virtualenv and activating virtualenv doesn't work
<p>I cloned my Django Project from Github Account and activated the virtualenv using famous command <code>source nameofenv/bin/activate</code>
And when I run <code>python manage.py runserver</code> </p>

<p>It gives me an error saying:</p>

<blockquote>
  <p>ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?</p>
</blockquote>

<p>on ubuntu version</p>

<pre><code>#install python pip 
sudo apt-get install python-pip
#install python virtualenv
sudo apt-get install python-virtualenv
# create virtual env 
virtualenv  myenv
#activate the virtualenv
. myenv/bin/activate
#install django inside virtualenv
pip install django
#create a new django project
django-admin.py startproject mysite
#enter to the folder of the new django project
cd mysite
#run the django project
python manage.py runserver 
</code></pre>

python django virtualenv