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
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.
- Install python virtual environment
pip install virtualenv
- Create directory to store your virtual environments for projects
mkdir ~/my-venvs
cd ~/my-venvs
- Create virtual environment for student extension
virtualenv carpo-mode
This will create new python virtual environment named carpo-mode
- Activate the above created virtual environment
source carpo-mode/bin/activate
- Install jupyterlab and carpo extension in your environment
pip install --upgrade carpo-student
- 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.
pip uninstall carpo-student
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.