It was solved by updating all installed packages from the Retropie setup tool.