Conda

Use Conda to create a virtual python manager

starting conda

conda activate .

If that doesnt work check this one out and specify the cli runner

conda init

create new env

conda create --name {name} python={whatever version ie 3.8}

adding conda env as a kernel in Jupyter

pip install ipykernel

After you install ipykernel, install the env into jupyter

python -m ipykernel install --user --name {name} --display-name "Python (whatever name you want to show up in jupyter, optional)"

list out env

conda env list

clone another env

conda create –clone {original name} –name {clone name}

remove env

conda env remove –name {name}

example conda yaml

name: streamlit_survey
dependencies:
  - pip
  - pip:
    - streamlit
    - pandas
    - numpy
    - seaborn
    - matplotlib
    - plotly