Warpinator "Permission denied: '/usr/lib/python3.10/site-packages"

Remove altgraph the same way you installed it. Do not install Python packages with sudo pip. See [root tip] [How To] Avoid common pitfalls as developer