Specify exact versions and add instructions

main
Aurélien Geron 2016-11-25 09:34:17 +01:00
parent c75080d20f
commit 2ed288c391
1 changed files with 35 additions and 15 deletions

View File

@ -1,21 +1,41 @@
jupyter # First make sure to update pip:
matplotlib # $ sudo pip install --upgrade pip
numexpr #
numpy # Then you probably want to work in a virtualenv (optional):
pandas # $ sudo pip install --upgrade virtualenv
Pillow # Or if you prefer, in Ubuntu:
protobuf # $ sudo apt-get update && sudo apt-get install virtualenv
psutil # Then:
scikit-learn # $ cd $my_work_dir
scipy # $ virtualenv my_env
sympy # $ . my_env/bin/activate
wheel #
# Next, optionally uncomment the OpenAI gym lines (see below). If you do, make sure to install the dependencies.
#
# Then uncomment only the desired version of TensorFlow (see below), and install the requirements:
# $ pip install --upgrade -r requirements.txt
#
# Finally, start jupyter:
# $ jupyter notebook
#
jupyter==1.0.0
matplotlib==1.5.3
numexpr==2.6.1
numpy==1.11.2
pandas==0.19.1
Pillow==3.4.2
protobuf==3.0.0
psutil==5.0.0
scikit-learn==0.18.1
scipy==0.18.1
sympy==1.0
# Optional: OpenAI gym is only needed for the Reinforcement Learning chapter. # Optional: OpenAI gym is only needed for the Reinforcement Learning chapter.
# There are a few dependencies you need to install first, check out: # There are a few dependencies you need to install first, check out:
# https://github.com/openai/gym#installing-everything # https://github.com/openai/gym#installing-everything
#gym #gym==0.5.4
#gym[atari] #atari-py==0.0.18
# Optional: these are useful Jupyter extensions, in particular to display # Optional: these are useful Jupyter extensions, in particular to display
# the table of contents. # the table of contents.
@ -24,7 +44,7 @@ https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tarball/master
###### ######
##### #####
#### Uncomment only the right version of TensorFlow for your system #### Uncomment only the right version of TensorFlow for your system
### (default is Python 3, Ubuntu/Linux 64-bit, CPU only) ### (default is Python 3.5, Ubuntu/Linux 64-bit, CPU only)
## ##
# For GPU versions, requires CUDA toolkit 7.5 and CuDNN v5. # For GPU versions, requires CUDA toolkit 7.5 and CuDNN v5.