-
Notifications
You must be signed in to change notification settings - Fork 0
python CONDA environment
David Caratelli edited this page Mar 9, 2024
·
1 revision
(1) Install conda from miniforge: https://github.com/conda-forge/miniforge
(2) follow the setup below:
conda create -n python3 python=3.7
conda activate python3
conda install scipy
conda install scikit-learn
conda install jupyter
conda install pandas==1.0.5
conda install matplotlib
conda install -c conda-forge uproot==3.11.6
conda install dask-core
conda install -c conda-forge xgboost
conda install -c conda-forge shap
conda install uncertainties
(specifying the uproot version was found to be necessary by Daniel Carber, working on ubuntu v18.04)
(3) To activate this local python setup type from the terminal:
conda activate python3LEE
(4) If you now want to install a package, such as pylandau:
pip install pylandau
(5) Test your environment. For example:
python
import numpy as np
import pylandau
import pandas as pd