安装pip
$ wget https://bootstrap.pypa.io/get-pip.py$ python get-pip.py python3 -m pip install --upgrade pip==9.0.3 # 降级
[root@room9pc01 ~]# pip3 install virtualenvwrapper
[root@room9pc01 ~]# find / -name virtualenvwrapper.sh
export WORKON_HOME=/software/venv
source /usr/local/bin/virtualenvwrapper.shVIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3
workon # 查看清单
mkvirtualenv -p python3 name # 创建 python3
deactivate # 退出
rmvirtualenv name # 删除
wget https://www.sqlite.org/2017/sqlite-autoconf-3170000.tar.gz --no-check-certificatetar zxvf sqlite-autoconf-3170000.tar.gzcd sqlite-autoconf-3170000./configure --prefix=/usr/local/sqlite3 --disable-static --enable-fts5 --enable-json1 CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_RTREE=1"# 重新编译安装cd Python-3.6.0LD_RUN_PATH=/usr/local/sqlite3/lib ./configure LDFLAGS="-L/usr/local/sqlite3/lib" CPPFLAGS="-I /usr/local/sqlite3/include"LD_RUN_PATH=/usr/local/sqlite3/lib makeLD_RUN_PATH=/usr/local/sqlite3/lib sudo make install