Error: Pkg_resources.distributionnotfound: The 'django==1.9.1' Distribution Was Not Found
I am getting following error trace when I am trying to run server in python environment: Traceback (most recent call last): File '/home/web/.virtualenvs/kolibri/bin/kolibri', lin
Solution 1:
Yeah found an ans , just run the command:
sudo pip install -U djangorestframework
or you can follow the steps:
*firstcheck version of django
* if it isnot given asper distrubution package thendelete it using following command:
$ pip uninstall Django
* again install specific version of django:
$ pip install django==1.9.1 (e.g 1.9.6or1.8or1.7)
$ django-admin --version // 1.9.1
Post a Comment for "Error: Pkg_resources.distributionnotfound: The 'django==1.9.1' Distribution Was Not Found"