File “/var/www/mydir/virtualenvs/dev/bin/pip”, line 5, in from pkg_resources import load_entry_point ImportError: No module named pkg_resources

I had this error earlier and the highest rated answer gave me an error trying to download the file. I found another source so you can run the command:

curl | python

I found that I also had to use sudo to get it working, so you may need to run:

sudo curl | sudo python

I’ve also created another location that the script can be downloaded from:


电子邮件地址不会被公开。 必填项已用*标注