Skip to content

Commit 0c1759e

Browse files
Merge pull request #29 from jonathanrocher/fix/readme_py3
Improve readme wrt py3, packages, anaconda users, ...
2 parents ea5c5e7 + d0292f1 commit 0c1759e

File tree

1 file changed

+27
-17
lines changed

1 file changed

+27
-17
lines changed

README.rst

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,23 @@ installer doesn't contain some of the packages we will need. After
2828
installation, please login inside the application (on the welcome screen). Then
2929
go to the package manager (in the Tools menu) and install any of the packages
3030
below that are not already present. Specifically, statsmodels and pytables
31-
aren't part of the free installer.
31+
aren't part of the free installer, though they can be installed with a free
32+
account. If you prefer the command line, run:
33+
34+
enpkg statsmodels pytables
35+
36+
**Note for Anaconda users:** The Python 3.5 installer has all the packages
37+
needed except html5lib. Install it with a:
38+
39+
conda install html5lib
3240

3341

3442
You already have your distribution
3543
----------------------------------
3644
Version of python
3745
*****************
38-
The tutorial should be pretty agnostic of whether you are running
39-
Python 2.7+ or Python 3.3+, but I will be using Python 2.7 and my material has
40-
been tested somewhat more on Python 2. If you don't already have a
41-
distribution, I recommend that you intall a Python2 distribution. If you
42-
already have a Python3 distribution, you will be fine, and might just have to
43-
replace some print statements by functions in occasional places.
46+
The tutorial has been tested and can be run under Python 2.7.10+ and
47+
Python 3.5+. Bring the flavor you want.
4448

4549
Packages needed
4650
***************
@@ -50,16 +54,13 @@ and exercises, you must have the following packages installed:
5054
- pandas 0.18+
5155
- numpy 1.10+
5256
- matplotlib 1.5+
53-
- pytables 3.1+
54-
- jupyter 1.0 or ipython 4.0+ (for running, experimenting and doing exercises)
55-
- nose (only to test your python installation)
56-
57-
In certain parts of the notebook, the following packages will be used
58-
occasionally:
57+
- html5lib 0.999+
5958
- lxml
60-
- beautifulsoup4 (careful to get BeautifulSoup4, not just BeautifulSoup!)
61-
- html5lib
59+
- BeautifulSoup4 (careful to get BeautifulSoup4, not just BeautifulSoup!)
60+
- jupyter 1.0 or ipython 4.0+ (for running, experimenting and doing exercises)
6261
- statsmodels 0.6+
62+
- pytables 3.1+
63+
- nose (only to test your python installation)
6364

6465

6566
Testing that you are all set
@@ -74,6 +75,16 @@ script:
7475

7576
OK
7677

78+
If you see some import errors, try to run:
79+
80+
enpkg <PACKAGE NAME>
81+
82+
or:
83+
84+
conda install <PACKAGE NAME>
85+
86+
depending on your distribution.
87+
7788

7889
Content needed
7990
===============
@@ -148,5 +159,4 @@ That requires to create a (free) slack account on
148159
(should have) received from Jill Cowan on June 29th 2016. Once the account is
149160
created, you will need to click on ``CHANNELS (22)`` in the left banner to find
150161
the pandas channel. If you have issues connecting to slack or finding the
151-
pandas channel, please shoot SciPy and me an email at ``SciPy@enthought.com``
152-
and ``jonathanrocher@gmail.com``.
162+
pandas channel, ping me on twitter `@jonrocher`.

0 commit comments

Comments
 (0)