Assignments for 9.014 in Python
conda env create —-name env_name python=3.9 matplotlib numpy scipy notebook
Type y
and hit Enter
when prompted
To activate, use
$ conda activate 9.014
To create a kernel for this virtual environment, use:
$ ipython kernel install --name 9.014 --user
To start a notebook, use
jupyter notebook
You must be in the directory containing the notebook file you want to modify (or containing a subdirectory with that file). When the notebook starts, select the kernel you created within the virtual environment.