Ask Your Question
0

upgrade built-in python to 3.5

asked 2015-09-23 13:49:03 -0500

MrSinaRJ gravatar image

I want to upgrade my python in fedora 20 to version 3.5 but after I installed the python.3.5.0.tgz file nothing changed and when I try to use python it still says that it's running the built-in version 2.7.5 How can I change that to the version I want I want to use Django and the version I want is only works on python 3.5

edit retag flag offensive close merge delete

Comments

1

/usr/bin/python is still python2 and should stay that way. You should run /usr/bin/python3 to invoke... whatever version of py3 you've ended up with.

randomuser gravatar imagerandomuser ( 2015-09-23 20:10:14 -0500 )edit

Fedora 23 which should be released end of October, will have Python 3 enabled by default.

yolo gravatar imageyolo ( 2015-09-24 12:25:47 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
2

answered 2015-09-24 11:35:38 -0500

hmaarrfk gravatar image

Fedora 20 is end of life, you should upgrade to a supported version of Fedora.

Now for the real answer:

Even Rawhide doesn't have python 3.5 installed.

https://apps.fedoraproject.org/packag...

You will have to install it yourself in a non-standard directory.

edit flag offensive delete link more
0

answered 2015-11-16 02:44:34 -0500

As of Nov 16, 2015, you can either upgrade to Fedora 23 and use a COPR repo, as described in this blog post on How to get Python 3.5 for Fedora 23 or use rawhide which has 3.5 now.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-09-23 13:49:03 -0500

Seen: 4,264 times

Last updated: Nov 16 '15