Skip to content

Commit 7f35e52

Browse files
committed
Updated installation instructions
1 parent db867a8 commit 7f35e52

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

README.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,21 @@ The ``drms`` Python package can be installed from
3737

3838
::
3939

40-
pip install --user drms
40+
pip install drms
4141

42-
To upgrade an already existing installation to the latest version, you
43-
can write
42+
To upgrade an already existing installation to the latest release, you
43+
can write::
4444

45-
::
45+
pip install -U drms
4646

47-
pip install -U --user drms
4847

49-
The ``--user`` argument can be omitted in the ``pip`` command, if you are
50-
using a Python distribution, like
48+
Note: If you do not use a Python distribution, like
5149
`Anaconda <https://www.continuum.io/downloads>`_,
52-
or if you created an isolated Python environment using
53-
`Virtualenv <https://virtualenv.pypa.io/en/stable/>`_.
50+
and did not create an isolated Python environment using
51+
`Virtualenv <https://virtualenv.pypa.io/en/stable/>`_,
52+
you might need to add ``--user`` to the ``pip`` command::
53+
54+
pip install --user drms
5455

5556

5657
Acknowledgements

doc/intro.rst

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,22 @@ The ``drms`` Python package can be installed from
4747

4848
::
4949

50-
pip install --user drms
50+
pip install drms
5151

52-
To upgrade an already existing installation to the latest version, you
53-
can write
52+
To upgrade an already existing installation to the latest release, you
53+
can write::
54+
55+
pip install -U drms
5456

55-
::
5657

57-
pip install -U --user drms
58+
.. note::
59+
If you do not use a Python distribution, like
60+
`Anaconda <https://www.continuum.io/downloads>`_,
61+
and did not create an isolated Python environment using
62+
`Virtualenv <https://virtualenv.pypa.io/en/stable/>`_,
63+
you might need to add ``--user`` to the ``pip`` command::
5864

59-
The ``--user`` argument can be omitted in the ``pip`` command, if you are
60-
using a Python distribution, like
61-
`Anaconda <https://www.continuum.io/downloads>`_,
62-
or if you created an isolated Python environment using
63-
`Virtualenv <https://virtualenv.pypa.io/en/stable/>`_.
65+
pip install --user drms
6466

6567

6668
Acknowledgements

0 commit comments

Comments
 (0)