shts 大佬有话说 :
bt宝塔 安装个python失败? 阿里云轻量香港
默认是2.7.5 想升级下,
没想到 点击哪个版本 都升级不老 阿里云轻量香港的服务
https://yanxuan.nosdn.127.net/c8910241af94591ce0d6233afac328c0.jpg
不念 大佬有话说 :
ssh里输入命令看看??
cherbim 大佬有话说 :
自己手动装呗,几行代码的事,对了不要动默认的python,Linux里好多都依赖这个python2.7,自己重新搞个python3
shts 大佬有话说 :
cherbim 大佬有话说 : 2020-2-28 12:56
自己手动装呗,几行代码的事,对了不要动默认的python,Linux里好多都依赖这个python2.7,自己重新搞个pyth …
去官网下载编译安装包或者直接执行以下命令下载
wget https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tar.xz
解压
tar -xvJf Python-3.6.2.tar.xz
切换进入
cd Python-3.6.2
编译安装
./configure prefix=/usr/local/python3
make && make install
安装完毕,/usr/local/目录下就会有python3了
找的这个安装了 又报错,郁闷了
https://yanxuan.nosdn.127.net/3d4d62548b2bc7ad097f1e45167d0b44.jpg
linhai 大佬有话说 :
shts 大佬有话说 : 2020-2-28 13:09
去官网下载编译安装包或者直接执行以下命令下载
wget https://www.python.org/ftp/python/3.6.2/Python- …
先安装 make
shts 大佬有话说 :
linhai 大佬有话说 : 2020-2-28 13:27
先安装 make
就是安装了 make
安装:
yum -y install gcc automake autoconf libtool make
安装g++:
yum install gcc gcc-c++