Message - Cannot find installed version of python-django or python3-django -


i'm new ubuntu, , love far. have been trying install django website development project. in terminal, when start python interpreter , type

import django  django.version 

i face no issues , get

(1, 8, 2, 'final', 0)  

then, start project, typed

django-admin startproject trialsite 

and got message saying

cannot find installed version of python-django or python3-django 

i installed django using pip install django==1.8.2 , installed django-admin package before using via apt-get. also, have been following django book guide through whole process. can tell me issue is?

my /usr/local/lib/python2.7/dist-packages , site-packages both empty. don't know if important. according django book, django-admin should be.

use following command , solved.

sudo apt-get install python-django 

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -