Cannot create .exe with pyinstaller from .py with torchaudio (CPU): AttributeError: '_OpNamespace' 'torchaudio' object has no attribute 'cuda_version'
Cannot create .exe with pyinstaller from .py with torchaudio (CPU): AttributeError: '_OpNamespace' 'torchaudio' object has no attribute 'cuda_version' Question: I have a .py script that uses torchaudio (without GPU) to process some sound in Windows. To distribute it, I’ve used pyinstaller to turn it into a .exe. You can reproduce the issue with this simple …