pip: pip install hangs with interactive setup.py setups

Try:

pip install egenix-pyopenssl

with Python 2.7 to see what I mean.

The setup.py in the packages asks for confirmation and pip no longer seems to support this (it did with earlier pip versions). Instead, the pip process simply hangs.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 51 (22 by maintainers)

Commits related to this issue

Most upvoted comments

Are you sure it’s stalled, as compared to just slow? I don’t believe numpy ever prompts for interactive input, and also the problem with interactive input causing hangs was already solved in recent pip versions.

Try running adding -v to the pip command to see the build logs, and if it still seems to hang then file a bug on the numpy tracker and we’ll take a look.

On Tue, Apr 28, 2015 at 7:35 PM, Marc-Andre Lemburg < notifications@github.com> wrote:

BTW: It’s not unusual to have packages interact with the user during installation as you can see when e.g. installing Postfix Debian/Ubuntu packages.

​For some context here, yum works similarly to pip6, and output is captured (interactive post-install is a bad practice with rpm). On the other hand, Debian has support for interactive prompts​ that goes beyond the terminal (gui with choices and so on, via debconf).

The point was that getting an error is way better than getting stuck. Of course, this is in the context of not allowing interactive installs.