问题1:error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: 过早的文件结束符(EOF)
fatal: index-pack failed
fatal: 无法克隆 ‘https://github.com/requests/requests’ 到子模组路径 ‘third_party/requests_deps/requests’
解决:
换协议
git clone http//...
换成
git clone git@...
问题2:YouCompleteMe requires Python >= 3.6.0; your version of Python is 3.5.2
查看python版本
ls /usr/local/lib/
设置python版本优先级
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 2
切换版本
sudo update-alternatives --config python
选择编号