Prerequisite: You must have an existing virtual environment. Instructions for creating one can be found here.
The steps below will walk you through installing additional packages in an existing virtual environment.
If you're not already logged in, follow the steps found here. In the upper-right corner, click the New button and select Terminal.
source activate <name_of_ve> where <name_of_ve> is the name of your virtual environment. If you have forgetten and you need to see a list, you can run
conda env list.
Now that you are in your virtual environment, you may install packages using
conda install or
pip install. For example, to install the
requests package, run:
Note: We highly recommend trying
conda install first, as it installs low level dependencies that some packages (such as tensorflow) need. If this does not work, then use
Navigate back to the Home tab. Next, click the New button and select the name of your kernel, which is myEnv in this example.
You can now import and use packages from your kernel. Notice the
requests package imports successfully.