question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip install hangs with interactive setup.py setups

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:51 (22 by maintainers)

github_iconTop GitHub Comments

2reactions
njsmithcommented, Jul 4, 2018

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.

1reaction
ionelmccommented, Apr 28, 2015

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip hangs when installing package - python - Stack Overflow
I'm trying to use this jq python module in my Python 3.4 program. I want to parse JSON that I get back from...
Read more >
pip hangs on `Loading macOS` when installing a package
I'm running python 3.9.1 on Manjaro. Any help would be much appreciated. python3 · pip.
Read more >
How do I tell if a Python pip install is working correctly or ...
To determine if its stuck in an infinite loop you have to use the time features of strace (although this is just an...
Read more >
pip hanging when trying to install packages : r/learnpython
Since yesterday for some reason when I run $pip3 install jinja2 (WSL) it comes up saying "Collecting jinja2" and gets stuck there.
Read more >
Python just hangs in IDE works elsewhere (beginner/installation)
This happens no matter which python interpreter I use. If I run the interactive console, it works fine, as expected. Anyone have any...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found