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
安裝就能爽歪歪了
我拿這個博客記錄一下,免得下次又查