pkg_resources.DistributionNotFound: Django==1.3.1 while creating a new project in Django

前端 未结 2 1061
后悔当初
后悔当初 2021-01-26 13:22

I am trying to create a new project but it getting following error . I am using python 2.6 and django 1.3.0

File \"/usr/local/bin/django-admin.py\", line 4, in &         


        
2条回答
  •  抹茶落季
    2021-01-26 14:09

    Try deleting easy_install.pth file if you try to install using easy_install too.

    I have this issue as pip didn't worked i tried with easy_install and it installed the latest django, so have to delete it that file from dist-packages folder. Hope this helps some one referring.

提交回复
热议问题