conda create --name ds python=3.11 numpy pandas scikit-learn matplotlib seaborn jupyter plotly ipykernel pyodbc
activate ds
conda install plotly
conda update pandas
conda remove pandas
conda list
conda env list
deactivate
conda remove --name myenv --all
Example:
name: my_env
channels:
- defaults
- anaconda
- conda-forge
dependencies:
- ipykernel
- jupyter_contrib_nbextensions
- matplotlib
- mlflow
- notebook
- numpy
- pandas
- pyarrow
- python=3.6
- scikit-learn
- seaborn
- pip:
- mlflow
- cloudpickle
- azureml-mlflow
- azureml-defaults
- azureml-dataprep[pandas,fuse]
- shap
- xgboost==1.0.0
conda env create --file environment.yml
To export the active environment: conda env export > environment.yml
To export an environment called my_env: conda env export --name my_env > environment.yml