Created
April 22, 2020 17:16
-
-
Save yanniskatsaros/e6ea3132a1313689d1203122f9fe569c to your computer and use it in GitHub Desktop.
A simple and cross-platform effective way to create a conda env with appropriate dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for more info see: | |
# https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#create-env-file-manually | |
name: core-env | |
channels: | |
- conda-forge | |
dependencies: | |
- python=3.7 | |
- matplotlib | |
- jupyterlab | |
- xlrd | |
- pandas | |
- openpyxl | |
- seaborn | |
- numpy | |
- requests | |
- scipy | |
- pyodbc | |
- pylint | |
- jupytext | |
- plotly | |
- python-dotenv | |
- scikit-learn | |
- statsmodels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create a new env named "core-env" as specified in the file | |
conda env create -f environment.yml | |
# or override the name and provide your own | |
conda env create -n test-env -f environment.yml | |
# for more info see: | |
# https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment