Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
pip install crashes can easily confuse newbies #1250
Comments
|
while actually implementing this, it turns out that combining stdout / stderr presents a pretty easy footgun in some cases (where |
those that are not familiar with the usual annoying messaging that pip presents can get pretty easily confused by the output that happens when
pipfails to installhere's an example:
this ~admittedly is a bit garbled for a number of reasons:
python_requiresor that there are versions available for other versions) (the actual error is that the python is python3.6 and the plugin requires python3.8)pipis from inside the virtualenv and doesn't really matter all that muchpre-commitis currently splitting the output from stdout and stderr making it harder to read what's going onI can't really fix the first one, and the second one I could silence but it doesn't quite feel like the right thing to do (and admittedly knowing the pip version is sometimes useful when debugging). The third however I can pretty easily fix!