Running PyQt5 app: ModuleNotFoundError: No module named 'PyQt5'

PyQt5/6 on nixos is always a hassle in my experience… Maybe it helps if you install PyQt from the nix-store and do the rest in a .venv like it did here. Although not sure if this works in your situation…