No module named pkg_resources

后端 未结 30 2482
一向
一向 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:01

    On Windows, with python 3.7, this worked for me:

    pip install --upgrade setuptools --user
    

    --user installs packages in your home directory, which doesn't require admin privileges.

提交回复
热议问题