I'm running Python 3.10.12 on Ubuntu 22.04.03. When I open the Python interpreter and attempt to run a command Python is immediately closed with the following error.
double free or corruption (out)
Aborted (core dumped)
I can see SO posts relating to similar questions but not to this problem specifically.