ubantu系统打开有可能会出现django莫名其妙没了又要重新安装的情况,
出现好几次了,
安装还不一定安装得上,用pip install命令出现
You are using pip version 8.1.1, however version 20.0.2 is available. You should consider upgrading via the ‘pip install --upgrade pip‘ command.
用了这两个代码就能解决
1 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py 2 sudo python3 get-pip.py --force-reinstall
再配上
pip install django==1.8.2 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
安装就能爽歪歪了
我拿这个博客记录一下,免得下次又查
Ubuntu下pip安装第三方库时出现提示:You are using pip version 8.1.2, however version 20.0.2 is available.