pip 警告!The default format will switch to columns in the future,pipcolumns

來源:互聯網
上載者:User

pip 警告!The default format will switch to columns in the future,pipcolumns

pip警告!

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.

pip升級到9.0.1後 查看pip.list 出現的警告 , 這個警告是提示以後pip的版本預設格式會採用columns, 你可以通過--format來指定以什麼形式進行展示(legacyh 或者 columns 格式)

不影響正常使用  就是不太美觀

 

解決方案:

 建立pip.conf的設定檔去掉警告。

 cd ~         跳到根目錄

 mkdir .pip      建立.pip檔案(.pip隱藏檔案)

 cd  .pip        進入到.pip

 vi pip.conf   建立pip,conf檔案並進入到vi編輯模式 

在vi裡輸入以下內容:

i 進入插入模式 進行輸入 輸入完Esc進入命令模式 

輸入Shift +:    輸入x 儲存  退出    

 

回到根目錄  cd ~

再次輸入 pip.list   警告沒有了 看著舒服多了(送給強迫症的朋友)

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.