Anaconda environments

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

What does "conda env export" do?

Writes all the packages in an environment, including the Python version

Enter an anaconda environment

activate env_name

What command would you use to create an environment named data installed with Python 3.5, numpy, and pandas?

conda create -n data python=3.5 numpy pandas

Command to create an environment with a specific version of Python

conda create -n env_name python=#.#

What's the command to load an Anaconda environment?

conda env create -f env_name.yaml

How do you export an Anaconda environment so someone else can load it?

conda env export > env_name.yaml

What's the command to list out the environments you've created?

conda env list

What's the command to remove environments?

conda env remove -n env_name

Display packages installed in an environment

conda list

Why might you want to use environments?

To manage/write/use code created in different versions of Python


Ensembles d'études connexes

Abdomen 1 Final - Kidneys and Urinary Tract

View Set

Assessment For Young Children Exam 2

View Set

Chapter 29: Management of Patients With Complications from Heart Disease

View Set

Portales 1 Textbook - ¿Masculino o femenino?

View Set

physics test- light color and the EM spectrum

View Set