Skip to main content

Installation

From scratch

If you don't have a Jupyterlab instance up and running, let's install Jupyterlab and Amphi together.

First, Jupyterlab and Amphi require Python. You need to have Python installed on your operating system.

note

For MacOS users, the python command might be python3 instead python.

1. It is recommended to install Jupyterlab and Amphi within a virtual environment:

Create a virtual environment, for example using venv:

python -m venv amphi_venv

2. Activate the environment

amphi_venv\Scripts\Activate.ps1

3. Install Jupyterlab and Amphi

python -m pip install jupyterlab jupyterlab-amphi

4. Start JupyterLab

Once installed, you can simply start a Jupyterlab instance:

jupyter lab

You should quickly get redirected to Jupyterlab. The installation has been successful if you see Amphi installed on the home page launcher:

Amphi available in Jupyterlab's launcher

With an existing Jupyterlab instance

You can install Amphi with an existing Jupyterlab instance using pip or using the extension manager.

Using pip

You can install Amphi with an existing Jupyterlab using pip:

pip install --upgrade amphi

Then, access or refresh Jupyterlab.

From the extension manager

Alternatively, you can install install Amphi for Jupyterlab via the Extension Manager.

Install Amphi for Jupyterlab via Extension Managert

Know issues

If you try to use the extension manager with Jupyterlab Desktop on Windows, you may get a permission error:

Error: ERROR: Could not open requirements file: [Errno 13] Permission denied: 'C:\\Users\\MY_USER_NAME\\AppData\\Local\\Temp\\tmp******'

You need to revert to install the package manually in the right Python environment. See Stack Overflow.