Skip to content

Commit

Permalink
Jupyter notebook dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stas00 committed Jan 30, 2019
1 parent 05dab75 commit 2bd1927
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ It's highly recommended you install `fastai` and its dependencies in a virtual e

If you experience installation problems, please read about [installation issues](https://github.com/fastai/fastai/blob/master/README.md#installation-issues).

If you are planning on using `fastai` in the jupyter notebook environment, make sure to also install the corresponding [packages](https://docs.fast.ai/install.html#jupyter-notebook-dependencies).

More advanced installation issues, such as installing only partial dependencies are covered in a dedicated [installation doc](https://docs.fast.ai/install.html).

### Conda Install
Expand Down
24 changes: 24 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,30 @@ Generally pytorch GPU build should work fine on machines that don't have a CUDA-
```


## Jupyter notebook dependencies

The `fastai` library doesn't require the jupyter environment to work, therefore those dependencies aren't included. So if you are planning on using `fastai` in the jupyter notebook environment, e.g. to run the `fastai` course lessons and you haven't already setup the jupyter environment, here is how you can do it.


* conda

```bash
conda install jupyter notebook jupyter_contrib_nbextensions
```

Some users also [seem to need](https://stackoverflow.com/questions/39604271/conda-environments-not-showing-up-in-jupyter-notebook) this conda package to be able to choose the right kernel environment, however, most likely you won't need this package.

```bash
conda install nb_conda
```

* pip

```bash
pip install jupyter notebook jupyter_contrib_nbextensions
```


## Custom dependencies

If for any reason you don't want to install all of `fastai`'s dependencies, since, perhaps, you have a limited disk space on your remote instance, here is how you can install only the dependencies that you need.
Expand Down

0 comments on commit 2bd1927

Please sign in to comment.