Last active
October 28, 2018 02:26
-
-
Save michaelaye/ccbe9f254cf946bff3755299b7cbaf60 to your computer and use it in GitHub Desktop.
Conda commands to create new environment
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
#!/bin/bash | |
# add --yes below if you trust the command to prevent the y/n interaction | |
conda create -n py36 python=3.6 --file list_of_conda_packages.txt -c conda-forge | |
conda activate py36 | |
conda config --env --add channels conda-forge | |
conda config --env --add pinned_packages conda-forge::numpy | |
conda config --env --add pinned_packages conda-forge::gdal | |
conda config --env --add pinned_packages notebook=5.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment