Skip to content

Commit

Permalink
Update installation instructions, and replace 'import numpy' with 'im…
Browse files Browse the repository at this point in the history
…port numpy as np'
  • Loading branch information
ageron committed Feb 19, 2016
1 parent 332e37a commit efade77
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 99 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ Simply open the [Jupyter](http://jupyter.org/) notebooks you are interested in:

# Installation

You will need [git](https://git-scm.com/), obviously.
Obviously, you will need [git](https://git-scm.com/) and [python](https://www.python.org/downloads/) (2 or 3).

First, clone this repository:

$ cd {*your development directory*}
$ cd {your development directory}
$ git clone https://github.com/ageron/ml-notebooks.git
$ cd ml-notebooks

Expand All @@ -27,15 +27,12 @@ If you want an isolated environment, you can use [virtualenv](https://virtualenv
$ virtualenv env
$ source ./env/bin/activate

Next, install the required python packages using pip:
Next, edit `requirements.txt` to uncomment the right version of TensorFlow for your platform, then install the required python packages using pip:

$ pip install -r requirements.txt # On Linux
OR
$ pip install -r requirements_macosx.txt # On MacOSX
$ pip install -r requirements.txt

Finally, launch Jupyter:

$ jupyter notebook

This should start the Jupyter server locally, and open a browser window. Click on `index.ipynb` to get started.

This should start the Jupyter server locally, and open your browser. Click on `index.ipynb` to get started.
2 changes: 1 addition & 1 deletion index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.10"
"version": "2.7.11"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit efade77

Please sign in to comment.