- Install
pyenvby following the instructions at this link. - Install
virtualenv.
- Clone the repository:
git clone https://github.com/yourusername/yourproject.git
cd yourproject- Install the specified Python version:
pyenv install 3.12.3- Set the local Python version:
pyenv local 3.12.3- Create and activate a virtual environment:
virtualenv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
# Deactivate later using command `deactivate`- Install the project dependencies:
pip install -r requirements.txt