欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

windows下安装python包pip时出错DEPRECATION解决

程序员文章站 2024-01-03 17:54:22
...

在使用pip list时出现DEPRECATION是怎么回事?怎么解决?修改

用Google搜了半天也没有解决的办法,搜到在stack overflow上有同样问题的人,不过那个人是Linux系统,而我是windows 7 ,试着弄了一下也没弄好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.

windows下安装python包pip时出错DEPRECATION解决


answer:
在C:\Users\Administrator下建立pip文件夹,在pip下新建pip.ini:
内容为:
[list]
format=columns



上一篇:

下一篇: