刪除 pip 安裝的所有軟件包的最簡單方法是什麼? - What is the easiest way to remove all packages installed by pip?

問題:

I'm trying to fix up one of my virtualenvs - I'd like to reset all of the installed libraries back to the ones that match production.我正在嘗試修復我的一個 virtualenvs - 我想將所有已安裝的庫重置回與生產匹配的庫。

Is there a quick and easy way to do this with pip?有沒有一種快速簡便的方法可以用 pip 做到這一點?


解決方案:

參考一: https://en.stackoom.com/question/lC8X
參考二: https://stackoom.com/question/lC8X
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章