Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 1.57 KB

DEV_INSTALL.md

File metadata and controls

62 lines (47 loc) · 1.57 KB

Installing carpo_student extension

pip install --upgrade carpo_student

Update the config.json file inside Carpo directory in the working directory of your Jupyter Lab. Replace the name and server address provided by your instructor.

To install specific version use:

pip install carpo_student==X.X.X

Installation with Virtual Environment

It is recommended that you install the carpo-student extension in a separate python virtual environment. This way, you can isolate the carpo modules from your global jupyterlab server.

  1. Install python virtual environment
pip install virtualenv
  1. Create directory to store your virtual environments for projects
mkdir ~/my-venvs
cd ~/my-venvs
  1. Create virtual environment for student extension
virtualenv carpo-mode

This will create new python virtual environment named carpo-mode

  1. Activate the above created virtual environment
source carpo-mode/bin/activate
  1. Install jupyterlab and carpo extension in your environment
pip install --upgrade carpo-student
  1. Now launch jupterlab
jupyter lab

You will now see all the carpo functionalities when you open Notebook in your jupyter lab server in the browser.

Uninstalling carpo_student extension

pip uninstall carpo-student

Installing carpo_teacher extension [Only for teacher]

pip install --upgrade jupyterlab carpo_teacher

Update the config.json file inside Carpo directory in the working directory of your Jupyter Lab. Replace the name and server address.