在使用pip list時出現DEPRECATION 解決辦法

報錯:
DEPRECATION: The default format will switch to columns in the future. You can use –format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
解決辦法:
在C:\Users\Administrator下建立pip文件夾,在pip下新建pip.ini,內容爲:

[list]
format=columns
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章