In a recent write-up, [David Delony] explains how he built a Wolfram Mathematica-like engine with Python. Core to the system is SymPy for symbolic math support. [David] said being able to work ...
Python 3.9 will go end-of-life next week so Python 3.6 is far behind in the rearview mirror. If is impossible to upgrade your build platform then it is known to be insecure.