conda
is a great python package environment.
Here is some frequently used commands:
(Post under construction)
- Create a new environment:
conda create -n ENV_NAME python=PYTHON_VERSION
- List all env:
conda env list
- Delete environment:
conda env remove -n ENV_NAME
- List all packages in the current env to text file so that can create new env later:
conda list -e > requirements.txt
- Create new env from text file generated in step (4):
conda create --name <ENV_NAME> --file requirements.txt