Install Python31. Environment preparation yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel gcc*2. Installation steps [[emailprotected] ~]# cd /usr/local/src/[[emailprotected] src]# wget https ://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz[[email protected] src]# tar -xf Python-3.6.5.tar.xz [[email protected] ] src]# cd Python-3.6.5[[email protected] Python-3.6.5]# ./configure --prefix=/usr/local/python3[[email protected] Python-3.6.5]# make && make install [[email protected] Python-3.6.5]# ln -s /usr/local/python3/bin/python3 /usr/bin/python3 [[email protected] Python-3.6.5]# ln -s /usr/ local/python3/bin/pip3 /usr/bin/pip33. Verification[[email protected] Python-3.6.5]# python3Python 3.6.5 (default, Jan 23 2019, 03:09:17) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linuxType "help", "copyright", "credits" or "license" for more information.
CentOS7.2 deployed Python3
WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4873 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC