Installing CrossCompute Analytics Extension and JupyterLab

In this article, we’ll lead you through installing CrossCompute Analytics Extension and JupyterLab, ideal for creating and managing projects using interactive notebooks, coding, and data handling.

The process begins with creating a virtual environment using Python 3.11. This step is key to keeping your project environment clean and separate from other projects or system settings. Kick things off by typing this command into your command line interface or Terminal application:


python3.11 -m venv ~/.virtualenvs/crosscompute

Here we set up the virtual environment in a common location, ```~/.virtualenvs/crosscompute``, making it easy to manage your past and future virtual environments.

Once your virtual environment is ready, the next step is to activate it. This is how you do it:


source ~/.virtualenvs/crosscompute/bin/activate

You will know that you have activated your virtual environment when you see the environment name in parentheses in your terminal prompt.

Now, with your virtual environment up and running, it is time to install CrossCompute Analytics and JupyterLab. Together CrossCompute Analytics and JupyterLab are great for web-based interactive development with notebooks, code, and data. Here’s how you can get them both in one quick command:


pip install crosscompute-analytics jupyterlab~=3

Alternatively, if you prefer to handle things step-by-step, install them separately:


pip install crosscompute-analytics

pip install jupyterlab~=3

After successfully installing CrossCompute Analytics and JupyterLab just run this command to launch JupyterLab:


jupyter lab

You should now be in the JupyterLab interface.

Now you are all set to dive into your projects with the powerful features of CrossCompute and JupyterLab. Great work!