No module named pkg_resources

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

    On windows, I installed pip downloaded from www.lfd.uci.edu/~gohlke/pythonlibs/ then encontered this problem.

    So I should have installed setuptools(easy_install) first.

提交回复
热议问题