Insights on Compiling CPython

When Do You Need to Compile CPython Yourself? Most operating systems provide compiled CPython versions. Generally, installing through a package manager is sufficient. However, in some cases, you need to compile CPython yourself to meet specific requirements: The Python version provided by the OS is too old, and the Python official website or system package repositories do not provide pre-compiled new versions of Python. Pre-compiled versions do not meet performance or extension requirements, for example, compiler optimizations are not enabled, or OpenSSL/SQLite versions do not meet requirements. ...

July 24, 2020 · zhoukuncheng