Skip to content

Commit e00c905

Browse files
committed
mention upgrading python-setuptools on Fedora
1 parent 11cd93f commit e00c905

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

‎source/install_requirements_linux.rst‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,30 @@ Fedora
3434

3535
* Fedora 21:
3636

37-
* Python 2: ``sudo yum install python-pip python-wheel``
37+
* Python 2::
38+
39+
sudo yum upgrade python-setuptools
40+
sudo yum install python-pip python-wheel
41+
3842
* Python 3: ``sudo yum install python3 python3-wheel``
3943

4044
* Fedora 22:
4145

42-
* Python 2: ``sudo dnf install python-pip python-wheel``
46+
* Python 2::
47+
48+
sudo dnf upgrade python-setuptools
49+
sudo dnf install python-pip python-wheel
50+
4351
* Python 3: ``sudo dnf install python3 python3-wheel``
4452

4553

4654
To get newer versions of pip, setuptools, and wheel for Python 2, you can enable
4755
the `PyPA Copr Repo <https://copr.fedoraproject.org/coprs/pypa/pypa/>`_ using
4856
the `Copr Repo instructions
49-
<https://fedorahosted.org/copr/wiki/HowToEnableRepo>`__.
57+
<https://fedorahosted.org/copr/wiki/HowToEnableRepo>`__, and then run::
58+
59+
sudo yum|dnf upgrade python-setuptools
60+
sudo yum|dnf install python-pip python-wheel
5061

5162

5263
CentOS/RHEL

0 commit comments

Comments
 (0)