Skip to content

Commit dc1abee

Browse files
committed
Update install instructions so we aren’t trying to get numpy from conda-forge, because it isn’t there for Windows.
1 parent fea55fc commit dc1abee

File tree

2 files changed

+8
-100
lines changed

2 files changed

+8
-100
lines changed

README.md

+8-13
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,30 @@
22

33
## Tutorial, JupyterCon 2017
44

5-
# Installation -- last updated 22 Aug, 4PM EDT
5+
# Installation
66

7-
The code in the tutorial has been written using Python 3; though it may also work with Python 2.7, it has not been tested extensively against that version.
7+
The code in the tutorial has been written using Python 3; though most of it may also work with Python 2.7.
88

99
We **strongly recommend** using the Anaconda Python distribution. You can install either the full [anaconda distribution](https://www.continuum.io/downloads) (very extensive, but large) or [miniconda](https://conda.io/miniconda.html) (much smaller, only essential packages).
1010

11-
There are download instructions below for installation using pip, which should work with any Python distribution, and the script for checking your installation should run on any Python.
11+
There are download instructions below for installation using pip, which should work with any Python distribution.
1212

1313
## anaconda/miniconda installation instructions
1414

1515
The steps below will get you a working environment.
1616

1717
```
18-
conda create -c conda-forge -n widgets-tutorial notebook=5.0 ipywidgets=7.0 numpy=1.13.1 python=3.6 scikit-image=0.13.0 scipy=0.19.1 traittypes
18+
conda create -n widgets-tutorial notebook=5.0 numpy python=3.6 scikit-image scipy traittypes
1919
2020
# Mac/Linux:
2121
source activate widgets-tutorial
2222
2323
# Windows:
2424
activate widgets-tutorial
2525
26+
# Install widgets from conda-forge, which has ipywidgets 7.0
27+
conda install -c conda-forge ipywidgets=7.0
28+
2629
# Create a kernel for this environment
2730
ipython kernel install --name widgets-tutorial --display-name widgets-tutorial --sys-prefix
2831
```
@@ -36,17 +39,9 @@ pip install ipywidgets
3639
jupyter nbextension enable --sys-prefix --py widgetsnbextension
3740
```
3841

39-
## Testing your installation
40-
41-
To check your installation, please download the script [install_check.py](https://raw.githubusercontent.com/mwcraig/scipy2017-jupyter-widgets-tutorial/master/install_check.py) and run it:
42-
43-
```
44-
python install_check.py
45-
```
46-
4742
## Tutorial materials
4843

49-
To get the tutorial materials, clone this repository. **Please plan to update the materials shortly before the tutorial.**
44+
To get the tutorial materials, clone this repository.
5045

5146
## Running into trouble?
5247

install_check.py

-87
This file was deleted.

0 commit comments

Comments
 (0)