如何使用 pip 更新/升級包? - How to update/upgrade a package using pip?

語言: CN / TW / HK

問題:

What is the way to update a package using pip?使用 pip 更新包的方法是什麼? those do not work:那些不起作用:

pip update
pip upgrade

I know this is a simple question but it is needed as it is not so easy to find (pip documentation doesn't pop up and other questions from stack overflow are relevant but are not exactly about that)我知道這是一個簡單的問題,但它是必需的,因為它不是那麼容易找到(pip文件不會彈出,堆疊溢位的其他問題是相關的,但不完全是這樣)


解決方案:

參考一: https://stackoom.com/question/3BVNo
參考二: How to update/upgrade a package using pip?
「其他文章」