创建python3虚拟环境
什么是虚拟环境? (What is a Virtual Environment?)
A virtual environment is a tool that helps to keep dependencies required by different projects separate by creating isolated Python virtual environments for them
虚拟环境是一种工具,可通过为它们创建隔离的Python虚拟环境来帮助将不同项目所需的依赖项分开
它为什么如此重要? (Why is it important?)
Python “Virtual Environments” allow Python packages to be installed in an isolated location for a particular application, rather than being installed globally.
Python“虚拟环境”允许将Python 软件包安装在特定应用程序的隔离位置,而不是全局安装。
我们什么时候需要虚拟环境? (When do we need a Virtual Environment?)
Imagine you have an application that needs version 1 of LibFoo, but another application requires version 2. How can you use both these applications? If you install everything into /usr/lib/python3.6/site-packages (or whatever your platform’s standard location is), it’s easy to end up in a situation where you unintentionally upgrade an application that shouldn’t be upgraded.
假设您有一个需要使用Li