[Python] PyInstaller EXE: “Windows cannot access the specified device, path, or file” on every...

Discussão em 'Python' iniciado por Stack, Maio 27, 2025.

  1. Stack

    Stack Membro Participativo

    I built a PyQt-based tool and bundle it with PyInstaller (--onefile --console) so that users only receive an EXE; it runs perfectly on my personal laptop, but on our Windows 10 corporate/Citrix VDIs the behaviour is baffling: the EXE starts once, it crashes after a couple of minutes; from that moment on every attempt (double-click or from cmd) immediately triggers the Windows dialog “Windows cannot access the specified device, path, or file. I try to contact an support team to generate an exception, but i dont know if the problem is the firewall, antivirus or anything else.

    Continue reading...

Compartilhe esta Página