In this post, we will see how to resolve 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 ...