sudobomb sudobomb - 7 months ago 79
Python Question

Django==1.10.dev20160410181954' distribution was not found and is required by the application

I am trying to create a Django Project. I installed Django 1.9.0 using python pip and I'm using python 2.7.

Whenever i try to create a new project i am getting an error:

django-admin startproject myproject


Error:

pkg_resources.DistributionNotFound: The 'Django==1.10.dev20160410181954' distribution was not found and is required by the application
django-admin startproject myproject

Answer

Can you try this command ?

cd /usr/local/bin

sudo chmod +x django-admin.py

and then Try creating a project again.