TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

You Need to Upgrade Pip

1 点作者 itamarst大约 4 年前

1 comment

eesmith大约 4 年前
I get upgrade fatigue using pip.<p>It seems like every time I use it, it nags me to update, like now:<p><pre><code> WARNING: You are using pip version 20.3.3; however, version 21.0.1 is available. </code></pre> 20.3.3 is from December. In the last 2 months there have been 3 releases.<p>Then I&#x27;ll upgrade, and the next time it&#x27;ll nag me to upgrade again.<p>So, no, I <i>don&#x27;t</i> need to update every time I turn around. I need something to give me some peace and quiet, like --disable-pip-version-check-for &quot;6 months&quot;.<p>Which is not at all what the linked-to page was about.<p>Then again, why didn&#x27;t the example shell transcript include pip&#x27;s incessant warning that:<p><pre><code> You are using pip version 9.0.1, however version 21.0.1 is available. You should consider upgrading via the &#x27;pip install --upgrade pip&#x27; command. </code></pre> (I made a venv and installed 9.0.1 to copy&amp;paste those nag lines.)<p>Was it trimmed off to add artificial suspense?<p>Seems more useful as an example of justifying why it should be there for sufficiently old pip installations.