User Tools

Site Tools


latinet:unicaes:start

UNICAES Python Workshop - 2022-09-01

Rolf Becker, Clein Sarmiento, 2022-09-01

Fig.: Great audience! :-)

Import Antigravity

Fig.: Import antigravity.
Source: https://xkcd.com/353/

Preparation

Code Snippets to Handle the Conda Environment

This code is to be executed in a terminal. I extended the list of software packages to be installed to run all provided workshop examples. Mac and Linux users just open a standard terminal. On Windows open the Anaconda Powershell prompt.
Execute the following code:

# create conda environment including installation of all necessary packages
conda create -c conda-forge -n unicaes jupyterlab ipywidgets numpy pandas scipy scikit-learn matplotlib plotly seaborn 
 
# activate conda environment                                                                       
conda activate unicaes
 
# start Jupyter-Lab (<Ctrl>-C in the terminal to exit jupyter-lab)
jupyter-lab
 
# leave conda envoronment and change to the base (default) environment
conda deactivate
 
# remove environment (in case you want to delete it)
# conda env remove -n unicaes

Code Snippets to Handle the Conda Environment

This code is to be executed in a terminal. I extended the list of software packages to be installed to run all provided workshop examples. Mac and Linux users just open a standard terminal. On Windows open the Anaconda Powershell prompt.
Execute the following code:

# create conda environment including installation of all necessary packages
conda create -c conda-forge -n unicaes jupyterlab ipywidgets numpy pandas scipy scikit-learn matplotlib plotly seaborn 
 
# activate conda environment                                                                       
conda activate unicaes
 
# start Jupyter-Lab (<Ctrl>-C in the terminal to exit jupyter-lab)
jupyter-lab
 
# leave conda envoronment and change to the base (default) environment
conda deactivate
 
# remove environment (in case you want to delete it)
# conda env remove -n unicaes

Video Recordings (unfortunately with very bad sound quality)

Additional Information

latinet/unicaes/start.txt · Last modified: 2022/09/09 17:46 by rolf001