2

I don't know why, it's been some weeks, pip is slow like hell to retrieve a package (like 5 minutes per package).

it hangs at "Collecting [...]"

any idea ?

I tried different versions of pip and of python / pypy, same problem.

There are other questions on that, but there are from 2013/2014 which is pretty old and maybe not applicable (at least, I tried them with no result)

hl037_
  • 3,520
  • 1
  • 27
  • 58

2 Answers2

0

We had the same problem due to brocken dns-server.

please, try to check your dns-servers (via nslookup utility) and try to fix it (in our case we removed bad dns-servers).

Vsevolod Gromov
  • 471
  • 4
  • 11
-3

pip repositories can be under heavy load and that may cause slow download ratio.

I would suggest trying to use mirrors.

pip install --use-mirrors

This flag will automatically use backup mirrors.

Maciej M
  • 786
  • 6
  • 17