All development, testing, and execution work for this project must use the conda environment named text2audiobook (as declared in environment.yml).
Create:
conda env create --file environment.ymlUpdate (re-run after any change to environment.yml):
conda env update --name text2audiobook --file environment.yml --pruneconda activate text2audiobookAfter activation, run python directly:
python main.py
python -m pytest testsIf a single command is needed without an active session, use conda run --name:
conda run --name text2audiobook python main.py
conda run --name text2audiobook python -m pytest tests- Do not use the base interpreter for this repository.
- Do not install project dependencies into the global Python environment.
- All future commands for this project assume
conda activate text2audiobookhas been run, OR useconda run --name text2audiobook ...for single-shot invocations. - Never use the legacy
--prefix .condapattern — the named env is the source of truth.
conda activate text2audiobookEach new terminal session requires re-activation.