Ask Your Question
0

Fedora 29 includes both python3.6 and python3.7 why?

asked 2018-12-03 02:37:43 -0600

VikeshBaid gravatar image

updated 2018-12-03 10:14:01 -0600

florian gravatar image

While checking for python version on Fedora 29 and come accross that is includes both python 3.6 and python 3.7. Isn't it ambiguous?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-12-03 09:48:27 -0600

villykruse gravatar image

From running dnf info python36

Description  : Python 3.6 package for developers.
             :
             : This package exists to allow developers to test their code
             : against an older version of Python. This is not a full Python
             : stack and if you wish to run your applications with Python 3.6,
             : see other distributions that support it, such as CentOS or RHEL
             : with Software Collections or older Fedora releases.

Same for python3.4 and python3.5.

edit flag offensive delete link more

Comments

That could be it. However, as far as I know, python36 is not installed by default. Moreover, as the info says, it's not the full python stack to run an application using python ver 3.6. It's just to test whether the app would be supported by ver 3.6.

You can remove that package if you don't actively use it!

florian gravatar imageflorian ( 2018-12-03 10:13:03 -0600 )edit
0

answered 2018-12-03 10:01:53 -0600

florian gravatar image

updated 2018-12-03 10:07:34 -0600

Are you sure you have 3.6 and 3.7 installed at the same time - that usually doesn't work easily, unless you have set up virtualenv to create isolated python environments.

What is the output of rpm -qa python3?

Looking here, you will see that Fedora 29 has Python3 version 3.7.x in its repositories.

Check yours with python3 --version.

(Python2: In addition, Fedora29 still has the older Python2, version 2.7.x available/installed.)

edit flag offensive delete link more

Comments

Having both python36-3.6.6-5.fc29.x86_64 and python3-3.7.1-4.fc29.x86_64 works and is supported. You just run python3.6 instead of python3

$ python3.6 --version
Python 3.6.6

$ python3 --version
Python 3.7.1
villykruse gravatar imagevillykruse ( 2018-12-03 11:29:16 -0600 )edit

oh, I see.

florian gravatar imageflorian ( 2018-12-03 11:45:34 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-12-03 02:37:43 -0600

Seen: 61 times

Last updated: Dec 03