If you use conda, mamba, or pip, you can install JupyterLab with one of the following commands.
- If you use conda:
conda install -c conda-forge jupyterlab
- If you use mamba:
mamba install -c conda-forge jupyterlab
- If you use pip:
If installing using
pip install jupyterlab
pip install --user
, you must add the user-levelbin
directory to yourPATH
environment variable in order to launchjupyter lab
. If you are using a Unix derivative (e.g., FreeBSD, GNU/Linux, macOS), you can do this by runningexport PATH="$HOME/.local/bin:$PATH"
. If you are using a macOS version that comes with Python 2, runpip3
instead ofpip
.
For more detailed instructions, consult the installation guide.
The project uses dotenv
. So you should either create .env
file in the project root with the following properties or export them as environment variables.
OPENAI_API_KEY=sk-...
GOOGLE_CSE_ID=...
GOOGLE_API_KEY=...
Create OpenAI API Key using this guide.
Create the GOOGLE_API_KEY in the Google Cloud credential console (https://console.cloud.google.com/apis/credentials) and a GOOGLE_CSE_ID using the Programmable Search Engine (https://programmablesearchengine.google.com/controlpanel/create).