Skip to content

Commit ca2cf16

Browse files
hyanwongmergify[bot]
authored andcommitted
Correctly document min python version
And stop using `python3`
1 parent 328fe36 commit ca2cf16

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/installation.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Installation
55
############
66

7-
Python 3.7 or newer is required for ``tsinfer``. Any Unix-like platform should
7+
Python 3.9 or newer is required for ``tsinfer``. Any Unix-like platform should
88
work (``tsinfer`` is tested on Linux, OS X, and Windows).
99

1010
***************
@@ -26,14 +26,14 @@ Installing from source
2626

2727
It is also possible to install from source via ``pip`` (although see the issues below):
2828

29-
$ python3 -m pip install tsinfer --user
29+
$ python -m pip install tsinfer --user
3030

3131
which will install ``tsinfer`` to the Python installation corresponding to your
32-
``python3`` executable. All requirements should be installed automatically.
32+
``python`` executable. All requirements should be installed automatically.
3333

3434
To run the command line interface to ``tsinfer`` you can then use::
3535

36-
$ python3 -m tsinfer --help
36+
$ python -m tsinfer --help
3737

3838

3939
If your ``PATH`` is set up to point at the corresponding ``bin`` directory
@@ -44,9 +44,9 @@ you can also use the ``tsinfer`` executable directly::
4444
You may wish to install into a virtual environment
4545
first using `venv <https://docs.python.org/3/library/venv.html>`_::
4646

47-
$ python3 -m venv tsinfer-venv
47+
$ python -m venv tsinfer-venv
4848
$ source tsinfer-venv/bin/activate
49-
(tsinfer-venv) $ python3 -m pip install tsinfer
49+
(tsinfer-venv) $ python -m pip install tsinfer
5050
(tsinfer-venv) $ tsinfer --help
5151

5252
****************

0 commit comments

Comments
 (0)