From 8a781b0fccaeef64bd41aca7f7b06b53b14a34ec Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 24 May 2026 17:04:58 +0200 Subject: [PATCH] chore: use `venv` instead of `conda` in the instructions --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d5704ad..b8ba302 100644 --- a/README.md +++ b/README.md @@ -55,20 +55,19 @@ git clone https://git.ayo.run/ayo/simple-tts cd simple-tts ``` -Create new [Python virtual environment](https://realpython.com/python-virtual-environments-a-primer/). Here I use [`conda`](https://docs.conda.io/projects/conda/en/latest/user-guide/install/), but [venv](https://docs.python.org/3/library/venv.html) is also good. We use Python version `3.12.6` due to a dependency failing on `3.13`. +Create new [Python virtual environment](https://realpython.com/python-virtual-environments-a-primer/). In the example here, we will use [venv](https://docs.python.org/3/library/venv.html), but if you are using Intel, they recommend using `conda`. See note below for using Intel XPUs. ```bash -conda create -n tts python=3.12.6 +python3 -m venv .venv ``` -> [!Note] > Optional for using Intel XPUs, you need to set up [ipex-llm environment with pytorch 2.6](https://git.ayo.run/ayo/ipex-llm/src/branch/main/docs/mddocs/Quickstart/install_pytorch26_gpu.md). Also, see [Intel XPU environmental variables"](#intel-xpu-environmental-variables) section below. Activate the environment and install the dependencies ```bash -conda activate tts -python -m pip install -r requirements.txt +. .venv/bin/activate +pip install -r requirements.txt ``` ### Optional: Language-specific setup @@ -107,7 +106,7 @@ Go into the directory and activate the environment: ```bash cd simple-tts -conda activate tts +. .venv/bin/activate ``` If using Intel XPUs, set the env variables