Good Morning,
I recently upgraded my server from Debian Stretch to Debian Buster, which changed the version of Python to 3.7. This broke the installation of mod-wsgi, which I knew would happen.
I have now installed mod_wsgi 4.7.1 and successfully ran a minimal python script to prove the installation.
Adding the following to the script causes it to fail:-
import math
This causes the error in the title.
I can successfully import other built in modules such as sys.
I can successfully import math in the python shell and in a script run directly by python3.
Does anybody have any idea what could be going on here?
Thanks
Paul