virtualenv for python3
Simple steps to setup virtualenv for Python3
To setup virtualenv for python3 for Django projects, create and cd into the desired folder for the Django project.
Create a folder for virtualenv,
$ mkdir venv
$ cd venv Then run these commands worked for me in this order:
setup virtualenv with Python in the current directory
$ virtualenv -p python3 . activate virtualenv
$ source bin/activate At this point, checking Python version should give python3
Install Django:
$ pip install djangoTo see all installations run :
$ pip freeze Django should be included in the list of installations
Start a Django project
$ django-admin startproject --projectnamecd into the created project and run:
$ python manage.py runserver 
