Merge pull request #12 from moble/master

Update README.md
This commit is contained in:
Chris Holdgraf 2020-06-29 13:00:27 -07:00 committed by GitHub
commit 5778653573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,16 +13,17 @@ The `environment.yml` file should list all Python libraries on which your notebo
depend, specified as though they were created using the following `conda` commands: depend, specified as though they were created using the following `conda` commands:
``` ```
source activate example-environment conda activate example-environment
conda env export --no-builds -f environment.yml conda env export --from-history -f environment.yml
``` ```
Note that the only libraries available to you will be the ones specified in Note that the only libraries available to you will be the ones specified in
the `environment.yml`, so be sure to include everything that you need! the `environment.yml`, so be sure to include everything that you need!
Also note that conda will possibly try to include OS-specific packages in `environment.yml`, so you Also note that if you skip the `--from-history`, conda may include OS-specific
may have to manually prune `environment.yml` to get rid of these packages. Confirmed Mac-OSX-specific packages in `environment.yml`, which you would have to manually prune from
packages that should be removed are: `environment.yml`. For example, confirmed macOS-specific packages that should
be removed are:
* libcxxabi=4.0.1 * libcxxabi=4.0.1
* appnope=0.1.0 * appnope=0.1.0