# 安装 pip install virtualenv # 创建名为test的虚拟环境 virtualenv -p python3 test # 激活环境 source test/bin/activate # 退出虚拟环境 deactivate
参考网站: https://developerroad.herokuapp.com/blog/article/7/

# 安装 pip install virtualenv # 创建名为test的虚拟环境 virtualenv -p python3 test # 激活环境 source test/bin/activate # 退出虚拟环境 deactivate
参考网站: https://developerroad.herokuapp.com/blog/article/7/