I'm working through the realpython.com Build and LLM RAG chatbot with langchain tutorial as part of a project to learn Python and understand AI developments.
I'm using venv to manage the virtual environment, and coding in Windows. The following would probably be obvious to any experienced Python developer.
python -m venv venv
PS> venv\Scripts\activate
(venv) PS>
(venv) PS> pip install -r requirements.txt
(venv) PS> pip freeze > requirements.txt