[Docs] Change myenv to vllm. Update python_env_setup.inc.md (#13325)

This commit is contained in:
2025-02-17 00:04:21 +08:00 committed by GitHub
parent 5d2965b7d7
commit da833b0aee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,8 +2,8 @@ You can create a new Python environment using `conda`:
```console ```console
# (Recommended) Create a new conda environment. # (Recommended) Create a new conda environment.
conda create -n myenv python=3.12 -y conda create -n vllm python=3.12 -y
conda activate myenv conda activate vllm
``` ```
:::{note} :::{note}
@ -14,6 +14,6 @@ Or you can create a new Python environment using [uv](https://docs.astral.sh/uv/
```console ```console
# (Recommended) Create a new uv environment. Use `--seed` to install `pip` and `setuptools` in the environment. # (Recommended) Create a new uv environment. Use `--seed` to install `pip` and `setuptools` in the environment.
uv venv myenv --python 3.12 --seed uv venv vllm --python 3.12 --seed
source myenv/bin/activate source vllm/bin/activate
``` ```