Update: i have created an extension which you can install in Blender 4.2 and later. It contains wheels for sympy and mpmath so you don't have to worry about installing these extra python modules.