# What difference platform-python and python3

**URL:** <https://forums.rockylinux.org/t/what-difference-platform-python-and-python3/5560>\
**Category:** Rocky Linux Help & Support\
**Created:** [March 8, 2022, 7:27pm UTC](https://forums.rockylinux.org/t/what-difference-platform-python-and-python3/5560 "2022-03-08T19:27:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lovesharepc](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@lovesharepc](https://forums.rockylinux.org/u/lovesharepc)\
**Post date:** [March 8, 2022, 7:27pm UTC](https://forums.rockylinux.org/t/what-difference-platform-python-and-python3/5560/1 "2022-03-08T19:27:45Z")

</div>

I have find the system include platform-python package

```nohighlight
[root@node1 ~]# /usr/libexec/platform-python -V
Python 3.6.8

```

what difference with normal python3 ?

my rocky linux version :  
Operating System: Rocky Linux 8.5 (Green Obsidian)  
Kernel: Linux 4.18.0-348.12.2.el8\_5.x86\_64  
Architecture: x86-64

---

<div class="post-metadata">

**Author:** ![FrankCox](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/frankcox/32/1572_2.png) [@FrankCox](https://forums.rockylinux.org/u/FrankCox)\
**Post date:** [March 8, 2022, 7:46pm UTC](https://forums.rockylinux.org/t/what-difference-platform-python-and-python3/5560/2 "2022-03-08T19:46:03Z")

</div>

platform-python is used by the portions of the operating system that require python, like dnf. While it is indeed a python intepreter, it really isn’t intended to be used by end user applications.

python3 is the python interpreter that you should be using with your python applications.

I think it was done this way so core operating system components would still function even if the end user doesn’t install a python interpreter.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [March 8, 2022, 9:06pm UTC](https://forums.rockylinux.org/t/what-difference-platform-python-and-python3/5560/3 "2022-03-08T21:06:47Z")

</div>

Indeed.

There are now 3 _streams_ for “user python3”?  
(3.6, 3.8, 3.9 ?)

The 3.6 version essentially symlinks to existing platform-python. The other two include binaries.

---

<div class="post-metadata">

**Author:** ![lovesharepc](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@lovesharepc](https://forums.rockylinux.org/u/lovesharepc)\
**Post date:** [March 10, 2022, 2:11am UTC](https://forums.rockylinux.org/t/what-difference-platform-python-and-python3/5560/4 "2022-03-10T02:11:54Z")

</div>

thank  
so if I want use python for docker  
I shoud install python3, not direct use platform-python

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:53am UTC](https://forums.rockylinux.org/t/what-difference-platform-python-and-python3/5560/5 "2023-08-25T03:53:58Z")

</div>

Closed on August 25, 2023, 3:53am UTC


