Package Management & Environment Configuration Flashcards
6 cards from real ACP practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 6 Package Management & Environment Configuration flashcards as text
Which command is used to create a new virtual environment in Anaconda?
Answer: conda create
The `conda create` command allows users to create isolated virtual environments with specific dependencies.
What is the purpose of a Conda environment?
Answer: To manage dependencies and isolate projects
Conda environments help users manage dependencies, prevent conflicts, and isolate project-specific packages.
Which command lists all installed packages in a Conda environment?
Answer: conda list
The `conda list` command displays all installed packages within the active Conda environment.
What is an advantage of using Conda over pip?
Answer: Conda supports multiple programming languages
Conda manages packages and dependencies across multiple languages, whereas pip is limited to Python packages only.
How can a user switch to an existing Conda environment?
Answer: conda activate
The `conda activate` command allows users to switch to a specific Conda environment for package management and execution.
Which file is used to export a Conda environment configuration?
Answer: environment.yml
The `environment.yml` file allows users to export and share Conda environments with dependencies for consistent setups.