# 查找python3的路径
which python3
/usr/bin/python3
# 使用python3常见虚拟环境
mkvirtualenv -p /usr/bin/python3 tudo
# 开机进入tudo
vi .bashrc
wonkon tudo
# 查看当前的虚拟环境目录
workon
# 切换到虚拟环境
workon py3
# 退出虚拟环境
deactivate
# 删除虚拟环境
rmvirtualenv venv
settings —> Languages&Frameworks —> python Template Languages—> jinjia