kuoruan / shell-scripts

Linux Shell Scripts
Apache License 2.0
1.18k stars 542 forks source link

Update pip into pip3 #36

Closed BBlakeana closed 5 years ago

BBlakeana commented 5 years ago

由于python的升级,如果使用pip而不是pip3将无法正常安装supervisor,导致异常无法正确配置kcptun(代码已在Ubuntu 18.10测试通过) Because of Python's update." pip" command cannot accomplish the installation process of "supervisor".So, I used "pip3" instead.

kuoruan commented 5 years ago

由于脚本需要兼容 CentOS 6 - CentOS 8,Ubuntu 14.04 - Ubuntu 18.10 等,无法单纯的将 pip 改为 pip3,毕竟 CentOS 6 上带的 python 版本已经很老了。

BBlakeana commented 5 years ago

我在ubuntu1804上安装失败了,要不要加一个提示。

kuoruan commented 5 years ago

是什么错误?我以前测试的时候是正常的啊

BBlakeana commented 5 years ago

无法安装supervisor导致的异常。 我尝试复现一下

BBlakeana commented 5 years ago

基于vultr的ubuntu1804复现成功,在手动使用pip3安装supervisor之后,脚本执行成功