No module named pkg_resources

后端 未结 30 2778
一向
一向 2020-11-22 07:22

I\'m deploying a Django app to a dev server and am hitting this error when I run pip install -r requirements.txt:

Traceback (most recent call la         


        
30条回答
  •  孤独总比滥情好
    2020-11-22 08:07

    I use CentOS 6.7, and my python was just upgrade from 2.6.6 to 2.7.11, after tried so many different answer, finally the following one does the job:

    sudo yum install python-devel
    

    Hope help someone in the same situation.

提交回复
热议问题