Installing Python Packages

How you install Python packages depends on whether you are using a conda environment. See our page on conda environments to learn how conda can help with version control and reproducibility. If you’re working within a conda environment, follow the conda installation instructions. Otherwise, you can install packages using pip with pip install.

For instance, to install kb-python, you may use:

Conda

conda install -c conda-forge -c bioconda kb-python

pip

pip install kb-python

Installing JupyterLab

JupyterLab is an interactive environment for writing Python scripts. It is especially useful for data analysis workflows. You may also install JupyterLab with pip or Conda:

pip

pip install jupyterlab

Conda

conda install -c conda-forge jupyterlab

Once installed, you can open it with:

jupyter lab