Poetry creates a virtual environment and also does dependency management for python
brew install poetry
Navigate to the repo's home folder
cd SOMEWHERE/genAI
Install packages specified into a new virtual env and activate it
poetry install
poetry self add poetry-plugin-shell
poetry shell
Start the notebook server
jupyter lab
A browser window will open where you can access all the jupyter notebooks.
Ctrl + C
to stop the jupyter server
exit
to deactivate the poetry virtual environment
Instead of doing pip install <package-name>
instead do poetry add <package-name>