创建python3虚拟环境_使用python3创建虚拟环境

创建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

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值