descriptinc/lyrebird-wav2clip

Error when importing after fresh installation on colab

Opened this issue · 0 comments

What CUDA and Python versions have you tested the pip package in? After installation on a fresh collab I receive the following error:


OSError Traceback (most recent call last)
in ()
----> 1 import wav2clip

7 frames
/usr/local/lib/python3.7/dist-packages/wav2clip/init.py in ()
2 import torch
3
----> 4 from .model.encoder import ResNetExtractor
5
6

/usr/local/lib/python3.7/dist-packages/wav2clip/model/encoder.py in ()
4 from torch import nn
5
----> 6 from .resnet import BasicBlock
7 from .resnet import ResNet
8

/usr/local/lib/python3.7/dist-packages/wav2clip/model/resnet.py in ()
3 import torch.nn as nn
4 import torch.nn.functional as F
----> 5 import torchaudio
6
7

/usr/local/lib/python3.7/dist-packages/torchaudio/init.py in ()
----> 1 from torchaudio import _extension # noqa: F401
2 from torchaudio import (
3 compliance,
4 datasets,
5 functional,

/usr/local/lib/python3.7/dist-packages/torchaudio/_extension.py in ()
25
26
---> 27 _init_extension()

/usr/local/lib/python3.7/dist-packages/torchaudio/_extension.py in _init_extension()
19 # which depends on libtorchaudio and dynamic loader will handle it for us.
20 if path.exists():
---> 21 torch.ops.load_library(path)
22 torch.classes.load_library(path)
23 # This import is for initializing the methods registered via PyBind11

/usr/local/lib/python3.7/dist-packages/torch/_ops.py in load_library(self, path)
108 # static (global) initialization code in order to register custom
109 # operators with the JIT.
--> 110 ctypes.CDLL(path)
111 self.loaded_libraries.add(path)
112

/usr/lib/python3.7/ctypes/init.py in init(self, name, mode, handle, use_errno, use_last_error)
362
363 if handle is None:
--> 364 self._handle = _dlopen(self._name, mode)
365 else:
366 self._handle = handle

OSError: libcudart.so.10.2: cannot open shared object file: No such file or directory