Replace `source activate` with `conda activate`

Fixes #331
main
Aurélien Geron 2018-12-19 11:54:11 +08:00 committed by GitHub
parent f1522c0d6e
commit 83d01268dc
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ If you choose to use Anaconda, read the next section, or else jump to the [Using
When using Anaconda, you can optionally create an isolated Python environment dedicated to this project. This is recommended as it makes it possible to have a different environment for each project (e.g. one for this project), with potentially different libraries and library versions:
$ conda create -n mlbook python=3.5 anaconda
$ source activate mlbook
$ conda activate mlbook
This creates a fresh Python 3.5 environment called `mlbook` (you can change the name if you want to), and it activates it. This environment contains all the scientific libraries that come with Anaconda. This includes all the libraries we will need (NumPy, Matplotlib, Pandas, Jupyter and a few others), except for TensorFlow, so let's install it: