I did the same, removed the directory /www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL
In Aapanel > Terminal > entered the command: bt selected item (16) Repair panel (check for errors and update panel files to the latest version)
I waited for the end but nothing has changed,
still getting error: AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
Restarting the panel does not help, please help solve the problem.