Skip to content

Commit 0cc9377

Browse files
topper-123TomAugspurger
authored andcommitted
DOC: Give python3 precedence over py2 in the install notes (pandas-dev#18603)
1 parent 9291ba3 commit 0cc9377

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

doc/source/install.rst

+11-15
Original file line numberDiff line numberDiff line change
@@ -141,28 +141,24 @@ and can take a few minutes to complete.
141141
Installing using your Linux distribution's package manager.
142142
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143143

144-
The commands in this table will install pandas for Python 2 from your distribution.
145-
To install pandas for Python 3 you may need to use the package ``python3-pandas``.
144+
The commands in this table will install pandas for Python 3 from your distribution.
145+
To install pandas for Python 2 you may need to use the package ``python-pandas``.
146146

147147
.. csv-table::
148148
:header: "Distribution", "Status", "Download / Repository Link", "Install method"
149149
:widths: 10, 10, 20, 50
150150

151151

152-
Debian, stable, `official Debian repository <http://packages.debian.org/search?keywords=pandas&searchon=names&suite=all&section=all>`__ , ``sudo apt-get install python-pandas``
153-
Debian & Ubuntu, unstable (latest packages), `NeuroDebian <http://neuro.debian.net/index.html#how-to-use-this-repository>`__ , ``sudo apt-get install python-pandas``
154-
Ubuntu, stable, `official Ubuntu repository <http://packages.ubuntu.com/search?keywords=pandas&searchon=names&suite=all&section=all>`__ , ``sudo apt-get install python-pandas``
155-
Ubuntu, unstable (daily builds), `PythonXY PPA <https://code.launchpad.net/~pythonxy/+archive/pythonxy-devel>`__; activate by: ``sudo add-apt-repository ppa:pythonxy/pythonxy-devel && sudo apt-get update``, ``sudo apt-get install python-pandas``
156-
OpenSuse, stable, `OpenSuse Repository <http://software.opensuse.org/package/python-pandas?search_term=pandas>`__ , ``zypper in python-pandas``
157-
Fedora, stable, `official Fedora repository <https://admin.fedoraproject.org/pkgdb/package/rpms/python-pandas/>`__ , ``dnf install python-pandas``
158-
Centos/RHEL, stable, `EPEL repository <https://admin.fedoraproject.org/pkgdb/package/rpms/python-pandas/>`__ , ``yum install python-pandas``
159-
160-
161-
162-
163-
164-
152+
Debian, stable, `official Debian repository <http://packages.debian.org/search?keywords=pandas&searchon=names&suite=all&section=all>`__ , ``sudo apt-get install python3-pandas``
153+
Debian & Ubuntu, unstable (latest packages), `NeuroDebian <http://neuro.debian.net/index.html#how-to-use-this-repository>`__ , ``sudo apt-get install python3-pandas``
154+
Ubuntu, stable, `official Ubuntu repository <http://packages.ubuntu.com/search?keywords=pandas&searchon=names&suite=all&section=all>`__ , ``sudo apt-get install python3-pandas``
155+
OpenSuse, stable, `OpenSuse Repository <http://software.opensuse.org/package/python-pandas?search_term=pandas>`__ , ``zypper in python3-pandas``
156+
Fedora, stable, `official Fedora repository <https://admin.fedoraproject.org/pkgdb/package/rpms/python-pandas/>`__ , ``dnf install python3-pandas``
157+
Centos/RHEL, stable, `EPEL repository <https://admin.fedoraproject.org/pkgdb/package/rpms/python-pandas/>`__ , ``yum install python3-pandas``
165158

159+
**However**, the packages in the linux package managers are often a few versions behind, so
160+
to get the newest version of pandas, it's recommended to install using the ``pip`` or ``conda``
161+
methods described above.
166162

167163

168164
Installing from source

0 commit comments

Comments
 (0)