pip安装提示pip is being invoked by an old script wrapper. This will fail in a futu re version of pip

时间:2020-03-15 12:58:23   收藏:0   阅读:6088

“关于解决”pip正在由旧脚本包装器调用。这将在Pip的未来版本中失败,pipisbeinginvokedbyanoldscriptwrapperThiswillfailinafutureversionofpip

发表时间:2020-02-15

在更新完pip的版本之后 使用pip继续安装django时报了这个错

WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with ‘-m pip‘ instead of running pip directly.
 

大概能猜出可能是python的安装包和pip的版本对不上?但是又不想去重装安装包 到时候又会出现一些莫名其妙的bug 
因此搜索了一下 
最后用 python -m pip install Django 
命令解决问题

原文:https://www.cnblogs.com/dragonzi/p/12496539.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!