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

“关于解决”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 
命令解决问题

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

上一篇:在WIN10上使用cmd窗口命令编译Android OpenCV


下一篇:微信js-sdk分享详解及demo实例