Ensure pipenv installs packages in the virtual environment of the current project. This forces the virtual environment to be created inside the project directory (in .venv
).
export PIPENV_VENV_IN_PROJECT=1
Modify the value for HF_TOKEN to reflect your Hugging Face token and replace value for PROJECT_PATH to reflect where you have cloned this project
HF_TOKEN=hf_XXXX
PROJECT_PATH=D:\gitprojects
Create a Conda environment with Python 3.11.11
conda create --prefix ./.venv python=3.11.11
Install the required packages using pipenv.
pipenv install