Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 664 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 664 Bytes

Install

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.

Exiting

Ctrl + C to stop the jupyter server exit to deactivate the poetry virtual environment

Adding a new package

Instead of doing pip install <package-name> instead do poetry add <package-name>