# Python 3.11 Build

**URL:** <https://community.freepbx.org/t/python-3-11-build/93758>\
**Category:** Distro Discussion & Help\
**Tags:** freepbx\
**Created:** [January 7, 2024, 8:25am UTC](https://community.freepbx.org/t/python-3-11-build/93758 "2024-01-07T08:25:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![1JWfn](https://community.freepbx.org/letter_avatar_proxy/v4/letter/1/e495f1/32.png) [@1JWfn](https://community.freepbx.org/u/1JWfn)\
**Post date:** [January 7, 2024, 8:25am UTC](https://community.freepbx.org/t/python-3-11-build/93758/1 "2024-01-07T08:25:39Z")

</div>

I’m struggling w/ Python-3.11.6 installation on sangoma linux 7 (I guess based on centos7)

I was trying to install python from [that](https://linuxstans.com/how-to-install-python-centos/) tutorial

`./configure --enable-optimizations` and `make altinstall` gave me [this](https://pastebin.com/QHkiZDzH) error.

Then, I’ve got `/usr/local/bin/python3.11` binary and when I type `python3.11` I get another [error](https://pastebin.com/NDUXEnU3)

Does anybody know how to properly install python3.11? I’ve searched few tutorials and error resolutions but at this point none of it seems to work

---

<div class="post-metadata">

**Author:** ![dicko](https://community.freepbx.org/user_avatar/community.freepbx.org/dicko/32/8712_2.png) [@dicko](https://community.freepbx.org/u/dicko)\
**Post date:** [January 7, 2024, 3:51pm UTC](https://community.freepbx.org/t/python-3-11-build/93758/2 "2024-01-07T15:51:19Z")

</div>

Consider using ‘virrual environments’

> **[Python Environment Management Best Practices](https://blog.inedo.com/python/python-environment-management-best-practices/?utm_term=python%20environment&utm_campaign=Python&utm_source=adwords&utm_medium=ppc&hsa_acc=5810695529&hsa_cam=16002723729&hsa_grp=136628587158&hsa_ad=593640324427&hsa_src=g&hsa_tgt=kwd-355125138947&hsa_kw=python%20environment&hsa_mt=p&hsa_net=adwords&hsa_ver=3&gad_source=1&gclid=Cj0KCQiAtOmsBhCnARIsAGPa5yb0I1G3WHLt_NmMQt4xovPIFldIHnPXhU4UcrmvgM5Pu_4sc1--1NwaAviuEALw_wcB)**
>
> There are a number of choices to make when cultivating the best environment for your Python project. This article will explain best practices to follow and common mistakes to avoid when cultivating your Python environment.

---

<div class="post-metadata">

**Author:** ![system](https://community.freepbx.org/uploads/default/original/3X/f/7/f7056d57e04fdbf71c6ad967e1ced351317f5c3f.png) [@system](https://community.freepbx.org/u/system)\
**Post date:** [February 7, 2024, 3:51pm UTC](https://community.freepbx.org/t/python-3-11-build/93758/3 "2024-02-07T15:51:30Z")

</div>

Closed on February 7, 2024, 3:51pm UTC

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