【问题标题】:How can I create a virtual environment with specific Python version in Windows? [duplicate]如何在 Windows 中创建具有特定 Python 版本的虚拟环境? [复制]
【发布时间】:2022-08-24 15:54:03
【问题描述】:

我的机器上有 Python 3.10。但我想将 3.8 用于项目。如何使用 Python 3.8 创建虚拟环境?

    标签: python-3.x python-3.8


    【解决方案1】:

    我用这个命令解决了它:

    virtualenv venv --python=python3.8
    

    【讨论】:

      猜你喜欢
      • 2016-04-05
      • 2020-10-21
      • 2021-01-31
      • 2021-09-19
      • 2021-05-02
      • 1970-01-01
      • 2017-12-30
      • 2021-05-03
      • 2021-11-25
      相关资源
      最近更新 更多