1.安装 切换到低版本的python: sudo update-alternatives --config python, 将python版本切到2.7.17 将pip切换为pip2而不是pip3:pip的切换 wget https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz#md5