import torchaudio
Traceback (most recent call last):
File "C:\Users\zqpzq\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\_ops.py", line 1488, in load_library
ctypes.CDLL(path)File "C:\Users\zqpzq\AppData\Local\Programs\Python\Python310\lib\ctypes\__init__.py", line 374, in init
self._handle = _dlopen(self._name, mode)FileNotFoundError: Could not find module 'C:\Users\zqpzq\AppData\Local\Programs\Python\Python310\Lib\site-packages\torchaudio\lib\libtorchaudio.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\zqpzq\AppData\Local\Programs\Python\Python310\lib\site-packages\torchaudio\__init__.py", line 7, in
from . import _extension # noqa # usort: skipFile "C:\Users\zqpzq\AppData\Local\Programs\Python\Python310\lib\site-packages\torchaudio\_extension\__init__.py", line 37, in
_load_lib("libtorchaudio")File "C:\Users\zqpzq\AppData\Local\Programs\Python\Python310\lib\site-packages\torchaudio\_extension\utils.py", line 58, in _load_lib
torch.ops.load_library(path)File "C:\Users\zqpzq\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\_ops.py", line 1490, in load_library
raise OSError(f"Could not load this library: {path}") from eOSError: Could not load this library: C:\Users\zqpzq\AppData\Local\Programs\Python\Python310\Lib\site-packages\torchaudio\lib\libtorchaudio.pyd
print(torchaudio.__version__)
Traceback (most recent call last):
File "", line 1, in
NameError: name 'torchaudio' is not defined