Ask Your Question
0

How do I install python on Fedora?

asked 2014-11-30 15:07:52 -0600

Bobo gravatar image

updated 2014-11-30 16:03:22 -0600

FranciscoD_ gravatar image

I am using virtual machine and I have downloaded fedora 20 on it. Now I am trying to install python program on it and it gives me no acceptable C compiler found in $PATH... What do I need to download and install so everything is working properly?

Thank you

edit retag flag offensive close merge delete

Comments

1

Python is always installed on Fedora. Your problem is not that python is missing.

randomuser gravatar imagerandomuser ( 2014-12-01 23:21:24 -0600 )edit

+1k We need a lot more information on the issue. The exact error message will be best. At the moment, everyone is just guessing.

FranciscoD_ gravatar imageFranciscoD_ ( 2014-12-02 05:39:41 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2014-11-30 16:00:34 -0600

cobra gravatar image

updated 2014-11-30 15:59:58 -0600

You don't need to download anything directly. Use yum to install the package.

yum install python

from the command line should do it. You'll need root privileges to do this, so use su - or sudo.

You should note, though, that there are many many modules to python - just installing the base interpreter will not give you all the libraries and extensions, and there may be different bits depending on what you're going to use it for. Take a look through your package manager (yumex is a good one) to list what is available for it.

edit flag offensive delete link more

Comments

Well, yum is written in python. You cannot have yum installed without having python installed :P

FranciscoD_ gravatar imageFranciscoD_ ( 2014-12-02 05:38:53 -0600 )edit
0

answered 2014-12-01 23:17:45 -0600

pnemade gravatar image

updated 2014-12-01 23:18:11 -0600

You need to install development group as gcc is missing. Try

sudo yum groupinstall "C Development Tools and Libraries"

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2014-11-30 15:07:52 -0600

Seen: 2,103 times

Last updated: Dec 01 '14