Skip to content

Commit 2db2b56

Browse files
committed
Add upgrade instructions for anaconda users
Addresses issue astropy#1805 which describes the mess created when updating astropy in anaconda using pip.
1 parent 2b1c305 commit 2db2b56

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

‎docs/install.rst‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ To install Astropy with `pip`, simply run::
3636

3737
pip install --no-deps astropy
3838

39+
.. warning::
40+
Users of the Anaconda python distribution should follow the instructions
41+
for :ref:`anaconda_install`.
42+
3943
.. note::
4044

4145
You will need a C compiler (e.g. ``gcc`` or ``clang``) to be installed (see
@@ -63,6 +67,25 @@ To install Astropy with `pip`, simply run::
6367
unless you are fully aware of the risks.
6468

6569

70+
.. _anaconda_install:
71+
72+
Anaconda python distribution
73+
----------------------------
74+
75+
Astropy is installed by default with Anaconda. To update to the latest version
76+
run::
77+
78+
conda update astropy
79+
80+
.. note::
81+
There may be a delay of a day or to between when a new version of Astropy
82+
is released and when a package is available for Anaconda. You can check
83+
for the list of available versions with ``conda search astropy``.
84+
85+
.. note::
86+
Attempting to use ``pip`` to upgrade your installation of Astropy may result
87+
in a corrupted installation.
88+
6689
Binary installers
6790
-----------------
6891

0 commit comments

Comments
 (0)