0

我有点困惑,我想安装与 venv 一起使用的 pyenv。我是先安装 pyenv https://github.com/pyenv/pyenv-installer然后安装https://github.com/pyenv/pyenv-virtualenv还是只安装第二个?

4

1 回答 1

0

是的,virtualenv 是插件。首先安装 Pyenv,然后通过将 git repo 克隆到 plugins 文件夹来安装 virtualenv,使用:

$ git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv

如果您仍然感到困惑,请按照此处的说明进行操作: 安装

于 2020-11-04T13:03:46.680 回答