Skip to content

Commit 31e1db3

Browse files
committed
remove references to python 2
1 parent 443bbd6 commit 31e1db3

1 file changed

Lines changed: 1 addition & 23 deletions

File tree

README.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -38,26 +38,20 @@ https://pyro2.readthedocs.io/
3838
* [Working with data](#working-with-data)
3939
* [Understanding the algorithms](#understanding-the-algorithms)
4040
* [Regression and unit testing](#regression-and-unit-testing)
41-
* [python 2.7](#python-27)
4241
* [Acknowledgements](#acknowledgements)
4342
* [Getting help](#getting-help)
4443

4544

4645
## Getting started
4746

48-
- By default, we assume python 3.4 or later. Instructions to
49-
run with python 2.7 are given below, but it is recommended you
50-
switch to python 3.x
47+
- By default, we assume python 3.6 or later.
5148

5249
- There are a few steps to take to get things running. You need to
5350
make sure you have `numpy`, `numba`, `matplotlib`, and `h5py`
5451
installed. On a Fedora system, this can be accomplished by doing:
5552

5653
`dnf install python3-numpy python3-numba python3-matplotlib python3-matplotlib-tk python3-h5py`
5754

58-
(note, for older Fedora releases, replace `dnf` with `yum`. For
59-
python 2.x, leave off the `3` in the package names.)
60-
6155
- Not all matplotlib backends allow for the interactive plotting as
6256
pyro is run. One that does is the TkAgg backend. This can be made
6357
the default by creating a file `~/.matplotlib/matplotlibrc` with
@@ -257,22 +251,6 @@ with their data.
257251
http://bender.astro.sunysb.edu/hydro_by_example/download/_stage/pyro2/tests.out
258252

259253

260-
## python 2.7
261-
262-
To run with python 2.7, you need to build the compiled code as:
263-
264-
```
265-
PYTHON=python2 ./mk.sh
266-
```
267-
268-
and then run explicitly giving the name of the python interpreter
269-
on the commandline as, for example:
270-
271-
```
272-
python2 ./pyro.py compressible sedov inputs.sedov
273-
```
274-
275-
276254
## Acknowledgements
277255

278256
If you use pyro in a class or workshop, please e-mail us to let us know

0 commit comments

Comments
 (0)