# I cannot install python3.13

**URL:** <https://dietpi.com/forum/t/i-cannot-install-python3-13/23812>\
**Category:** Troubleshooting\
**Created:** [17 July 2025 17:40 UTC](https://dietpi.com/forum/t/i-cannot-install-python3-13/23812 "2025-07-17T17:40:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![olwe1](https://dietpi.com/forum/user_avatar/dietpi.com/olwe1/32/8095_2.png) [@olwe1](https://dietpi.com/forum/u/olwe1)\
**Post date:** [17 July 2025 17:40 UTC](https://dietpi.com/forum/t/i-cannot-install-python3-13/23812/1 "2025-07-17T17:40:26Z")

</div>

I need to install python3.13 but when I do ‘apt install python3’ it installs the 3.11 version. Is there an easy way to install python3.13 on dietpi?

it seems strange to me that 3.11 is the latest version available on apt.

Thank you for your help

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [17 July 2025 18:01 UTC](https://dietpi.com/forum/t/i-cannot-install-python3-13/23812/2 "2025-07-17T18:01:39Z")

</div>

This has literally nothing to do with DietPi. It’s simply the version available from Debian `apt` package servers [Debian -- Details of package python3 in bookworm](https://packages.debian.org/bookworm/python3)

You should be able to install other python versions similar to every other Debian system.

---

<div class="post-metadata">

**Author:** ![olwe1](https://dietpi.com/forum/user_avatar/dietpi.com/olwe1/32/8095_2.png) [@olwe1](https://dietpi.com/forum/u/olwe1)\
**Post date:** [17 July 2025 19:34 UTC](https://dietpi.com/forum/t/i-cannot-install-python3-13/23812/3 "2025-07-17T19:34:39Z")

</div>

Yes thank you for your answer but my question was: “Is there an easy way to install python3.13 on dietpi/debian ?”

---

<div class="post-metadata">

**Author:** ![olwe1](https://dietpi.com/forum/user_avatar/dietpi.com/olwe1/32/8095_2.png) [@olwe1](https://dietpi.com/forum/u/olwe1)\
**Post date:** [17 July 2025 20:08 UTC](https://dietpi.com/forum/t/i-cannot-install-python3-13/23812/4 "2025-07-17T20:08:00Z")

</div>

I found my way to pyenv: [GitHub - pyenv/pyenv: Simple Python version management](https://github.com/pyenv/pyenv) 👌

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [18 July 2025 05:56 UTC](https://dietpi.com/forum/t/i-cannot-install-python3-13/23812/5 "2025-07-18T05:56:46Z")

</div>

yes that´s one option. We do the same for apps like home assistance to install a specific python version

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [16 October 2025 05:56 UTC](https://dietpi.com/forum/t/i-cannot-install-python3-13/23812/6 "2025-10-16T05:56:52Z")

</div>

Closed on 16 October 2025 05:56 UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
