-->

Translate

2017年2月12日 星期日

使用pip list出現錯誤?

有一些剛接觸Python的朋友會碰到這個,當我想要輸入
pip list

查看我已經安裝了那些套件,卻出現了一個奇怪錯誤?? 


"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\使用者這個目錄下新增pip資料夾。



 
在pip資料夾下,新增pip.ini




 
打上圖片中的文字,存檔即可。













 

沒有留言:

張貼留言