Error "pkg_resources.DistributionNotFound: Django==1.9" when startproject -


i have problem when try create new project. happens after updating django 1.8 version 1.9. when use command:

django-admin.py startproject myproject 

i've got error:

commanderror: /var/www/myproject/manage.py exists, overlaying project or app existing directory won't replace conflicting files 

when type command:

django-admin startproject myproject 

i've got error:

traceback (most recent call last):   file "/usr/local/bin/django-admin", line 5, in <module>     pkg_resources import load_entry_point   file "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in <module>     working_set = workingset._build_master()   file "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in _build_master     return cls._build_from_requirements(__requires__)   file "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in _build_from_requirements     dists = ws.resolve(reqs, environment())   file "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve     raise distributionnotfound(req) pkg_resources.distributionnotfound: django==1.9 

so according post, check path of django-admin.py , check django, , same. tried delete , install django using pip, i've got still same error.

i glad if me that. thank you!


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -