11.2.02. Conda Environments: Configuration
DESCRIPTION
This is the second tutorial in the series of configuring your computer environments for working with Python. This tutorial introduces basic concept about Conda environments and Python packages.
PROCEDURE
For creating an Anaconda environment:
1. open Anaconda Prompt
2. check Conda Cheat Sheet for commands syntax
3. type in “conda create –name envname python=’version'” (see conda cheat sheet)
4. once your environment is created, activate it via “conda activate”- check the environment you’re in on the left side of the prompt
5. install any packages you want to use in your Python project via “conda install ‘package name” (see conda cheat sheet)
Note: for debugging or specific commands, always check the Anaconda documentation
This exercise is using Python version 3.6.0.
References: https://docs.anaconda.com/ | https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html | https://conda.io/projects/conda/en/latest/user-guide/getting-started.html