add new chinese translations
This commit is contained in:
20
pages.zh/common/pyenv-virtualenv.md
Normal file
20
pages.zh/common/pyenv-virtualenv.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# pyenv 虚拟环境
|
||||
|
||||
> 基于已安装的 Python 发行版创建虚拟环境。
|
||||
> 更多信息:<https://github.com/pyenv/pyenv-virtualenv>。
|
||||
|
||||
- 创建一个新的 Python 3.6.6 虚拟环境:
|
||||
|
||||
`pyenv virtualenv {{3.6.6}} {{虚拟环境名称}}`
|
||||
|
||||
- 列出所有现有的虚拟环境:
|
||||
|
||||
`pyenv virtualenvs`
|
||||
|
||||
- 激活一个虚拟环境:
|
||||
|
||||
`pyenv activate {{虚拟环境名称}}`
|
||||
|
||||
- 停用虚拟环境:
|
||||
|
||||
`pyenv deactivate`
|
Reference in New Issue
Block a user