Installing Packages
To install packages that will be available globally, across all learner environments, instructors will need to create a new container image.
Enter 'Configure Workspace' and open the Terminal, located in the Apps menu of your Vocareum Notebook.
Install your package with the sudo command:
sudo pip3 install <package>
Instructors can install packages locally for testing. Learners can install to their local directory as well. Enter Configure Workspace and open the terminal in your Vocareum Notebook. Install package with the pip command:
pip3 install <package>
Creating and Saving A Custom Image
To make the new packages available in learner environments select Save Image in the top right of your notebook:
From the "Save Container Image" window give the new image a name. You can choose to have the the current running image replaced and container restarted. When you are done with your selections press "Save".
The package is now available for all learners.
If you do not choose to replace the current image at the time, you will need to return to the Lab Definition menu in the Part settings and adjust the lab type to select the newly created image. Once selected press 'Save Part'.