Ask Your Question

Unable to install Python on Fedora 23

asked 2016-02-19 01:33:36 -0500

Sourav Mehra gravatar image

Hello Guys,

I am having some problems while trying to install Python on my Fedora 23 machine. It shows some dependencies which I am unable to resolve. Below are details, could someone help please. Thanks in advance.

[root@ticketanalysis1 Downloads]# rpm -ivh python-2.7.10-8.fc23.x86_64.rpm error: Failed dependencies: python-pip is needed by python-2.7.10-8.fc23.x86_64 python-setuptools is needed by python-2.7.10-8.fc23.x86_64 [root@ticketanalysis1 Downloads]# rpm -ivh python-setuptools-18.0.1-2.fc23.noarch.rpm warning: python-setuptools-18.0.1-2.fc23.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID 873529b8: NOKEY error: Failed dependencies: /usr/bin/python is needed by python-setuptools-18.0.1-2.fc23.noarch python(abi) = 2.7 is needed by python-setuptools-18.0.1-2.fc23.noarch

edit retag flag offensive close merge delete


please use instead: dnf install python-2.7.10-8.fc23.x86_64.rpm ,

sergiomb gravatar imagesergiomb ( 2016-02-19 09:28:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-19 02:42:11 -0500

robyduck gravatar image

updated 2016-02-19 02:54:05 -0500

You should use DNF to install packages on your system, which resolves dependencies automatically. The RPM command installs only the package(s) you list on the command line, therefore you would need all the dependencies, and even their dependencies, as packages downloaded on your system and then install them. So, as root (or use sudo) just do:

dnf install python

Probably, if you want to do some stuff for Fedora, you could also install python-fedora.

edit flag offensive delete link more

Question Tools


Asked: 2016-02-19 01:33:36 -0500

Seen: 868 times

Last updated: Feb 19 '16