This lesson is being piloted (Beta version)

Setup conda environment and creating Jupyter Kernel using your SMU ManeFrame account

Please follow this guideline to create a new conda environment and install scikit-learn package.

Open any terminal:

Below is the setup using M2 Shell Access:

First, login to Open OnDemand and open Shell Access image

Request a compute node and load python library

$ srun -p htc --mem=6G --pty $SHELL
$ module load python/3

Create a conda environment named MyPEnv with python version 3.6

$ conda create -y -n MyPEnv python=3.7

Activate the conda environment and install matplotlib and any other needed packages.

[tuev@b136 ~]$ source activate myPenv
(myPenv) [tuev@b136 ~]$ conda install numpy pandas scikit-learn seaborn matplotlib -y

You can also create your own Jupyter Hub kernel:

(myPenv) [tuev@b136 ~]$ conda install jupyter
(myPenv) [tuev@b136 ~]$ python -m ipykernel install --user --name myPenv --display-name "My 1st conda env"

=> Note: while using myPenv conda environment, if we are missing anything, we can always come back and update using pip install or conda install method.

You will see the new kernel created:

image